[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] LibreOffice packaging repository branch, debian-experimental-3.6, updated. libreoffice_3.6.1_rc2-1-2-g1f4e10e



The following commit has been merged in the debian-experimental-3.6 branch:
commit fe63c91fbe878714e8d71ab9da159485fe82def9
Author: Rene Engelhard <rene@debian.org>
Date:   Mon Aug 27 18:47:06 2012 +0200

    guard ca-XV -> -ca move in install-common...

diff --git a/changelog b/changelog
index 2c21070..154f62b 100644
--- a/changelog
+++ b/changelog
@@ -1,3 +1,11 @@
+libreoffice (1:3.6.1~rc2-2) UNRELEASED; urgency=low
+
+  * debian/rules:
+    - work around possible failure install-common target with missing
+      ca-XV .dirs/.install...
+
+ -- Rene Engelhard <rene@debian.org>  Mon, 27 Aug 2012 13:11:47 +0200
+
 libreoffice (1:3.6.1~rc2-1) experimental; urgency=low
 
   * new upstream release candidate
diff --git a/rules b/rules
index 7be4121..0a1accd 100755
--- a/rules
+++ b/rules
@@ -1709,14 +1709,18 @@ $(STAMP_DIR)/install-common:
 
 	# and ca-XV in -ca...
 ifeq (ca-XV,$(findstring ca-XV,$(LANGPACKISOS)))
-	cat debian/libreoffice-l10n-ca-XV.dirs >> debian/libreoffice-l10n-ca.dirs
-	cat debian/libreoffice-l10n-ca-XV.install >> debian/libreoffice-l10n-ca.install
-	rm -f debian/libreoffice-l10n-ca-XV.dirs debian/libreoffice-l10n-ca-XV.install
+	if [ -f debian/libreoffice-l10n-ca-XV.dirs -a -f debian/libreoffice-l10n-ca-XV.install ]; then \
+		cat debian/libreoffice-l10n-ca-XV.dirs >> debian/libreoffice-l10n-ca.dirs; \
+		cat debian/libreoffice-l10n-ca-XV.install >> debian/libreoffice-l10n-ca.install; \
+		rm -f debian/libreoffice-l10n-ca-XV.dirs debian/libreoffice-l10n-ca-XV.install; \
+	fi
 endif
 ifeq (ca-XV,$(findstring ca-XV,$(HELPISOS)))
-	cat debian/libreoffice-help-ca-XV.dirs >> debian/libreoffice-help-ca.dirs
-	cat debian/libreoffice-help-ca-XV.install >> debian/libreoffice-help-ca.install
-	rm -f debian/libreoffice-help-ca-XV.dirs debian/libreoffice-help-ca-XV.install
+	if [ -f debian/libreoffice-help-ca-XV.dirs -a -f debian/libreoffice-help-ca-XV.install ]; then \
+		cat debian/libreoffice-help-ca-XV.dirs >> debian/libreoffice-help-ca.dirs; \
+		cat debian/libreoffice-help-ca-XV.install >> debian/libreoffice-help-ca.install; \
+		rm -f debian/libreoffice-help-ca-XV.dirs debian/libreoffice-help-ca-XV.install; \
+	fi
 endif
 
 	# fixup case (-l10n-pt-BR -> l10n-pt-br etc.)

-- 
LibreOffice packaging repository


Reply to: