[SCM] LibreOffice packaging repository branch, master, updated. libreoffice_3.4.5-2-17-g331c39c
The following commit has been merged in the master branch:
commit 331c39cd4b94e580e417b5cab2576f6befecb243
Author: Rene Engelhard <rene@debian.org>
Date: Tue Jan 31 23:31:05 2012 +0100
move overriding ifs to if..elif..else
diff --git a/rules b/rules
index 57fce1b..60cd18e 100755
--- a/rules
+++ b/rules
@@ -2179,8 +2179,9 @@ $(STAMP_DIR)/langpacks: $(STAMP_DIR)/install $(STAMP_DIR)/install-indep $(OOO_BU
# install technical.dic
for iso in $(LANGPACKISOS); do \
- if [ "$$iso" = "en-US" ]; then pkg=common; else pkg=l10n-`echo $$iso | tr A-Z a-z`; fi; \
- if [ "$$iso" = "ca-XV" ]; then pkg=l10n-ca; else pkg=l10n-`echo $$iso | tr A-Z a-z`; fi; \
+ if [ "$$iso" = "en-US" ]; then pkg=common; \
+ elif [ "$$iso" = "ca-XV" ]; then pkg=l10n-ca; else pkg=l10n-`echo $$iso | tr A-Z a-z`; \
+ fi; \
mkdir -p $(PKGDIR)-$$pkg/$(OODIR)/share/wordbook/$$iso; \
install -m644 $(SOURCE_TREE)/extras/source/wordbook/technical.dic \
$(PKGDIR)-$$pkg/$(OODIR)/share/wordbook/$$iso/technical.dic; \
--
LibreOffice packaging repository
Reply to: