dvratil pushed to kde-l10n (f22). "Fix build, not all languages have localized documentation"

notifications at fedoraproject.org notifications at fedoraproject.org
Sun May 3 16:37:04 UTC 2015


>From 3e2cac0c885f430425e09c074541a5842f26fb5f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20Vr=C3=A1til?= <dvratil at redhat.com>
Date: Sun, 3 May 2015 16:39:35 +0200
Subject: Fix build, not all languages have localized documentation


diff --git a/kde-l10n.spec b/kde-l10n.spec
index b02144d..a1bffe3 100644
--- a/kde-l10n.spec
+++ b/kde-l10n.spec
@@ -843,7 +843,9 @@ for i in $(cat %{SOURCE1000}) ; do
 
       # Provided by plasma-workspace and plasma-desktop
       sed -i -e 's/add_subdirectory( *kde-workspace *)/#add_subdirectory(kde-workspace)/g' 4/$i/$j/messages/CMakeLists.txt
-      sed -i -e 's/add_subdirectory( *kde-workspace *)/#add_subdirectory(kde-workspace)/g' 4/$i/$j/docs/CMakeLists.txt
+      if [ -e 4/$i/$j/docs/CMakeLists.txt ]; then
+        sed -i -e 's/add_subdirectory( *kde-workspace *)/#add_subdirectory(kde-workspace)/g' 4/$i/$j/docs/CMakeLists.txt
+      fi
       rm -fv 4/$i/$j/messages/kde-runtime/{attica_kde,knetattach,drkonqi,phonon_kde,soliduiserver}.po
       rm -fv 4/$i/$j/messages/kde-runtime/kcm{_emoticons,_phonon,componentchooser,icons,kded,notify}.po
       rm -fv 4/$i/$j/messages/kde-runtime/kio_{applications,remote}.po
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/kde-l10n.git/commit/?h=f22&id=3e2cac0c885f430425e09c074541a5842f26fb5f


More information about the scm-commits mailing list