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

./packages/libreoffice/3.3.0/experimental r2311: properly install technical.dic into -common



------------------------------------------------------------
revno: 2311
committer: Rene Engelhard <rene@debian.org>
branch nick: debian
timestamp: Sat 2011-01-08 23:24:10 +0100
message:
  properly install technical.dic into -common
modified:
  rules
=== modified file 'rules'
--- a/rules	2011-01-08 18:14:04 +0000
+++ b/rules	2011-01-08 22:24:10 +0000
@@ -2083,11 +2083,10 @@
 
 	# install technical.dic
 	for iso in $(LANGPACKISOS); do \
-		if [ "$$iso" = "en-US" ]; then continue; else \
-			mkdir -p $(PKGDIR)-l10n-`echo $$iso | tr A-Z a-z`/$(OODIR)/share/wordbook/$$iso; \
-			install -m644 $(SOURCE_TREE)/extras/source/wordbook/technical.dic \
-				$(PKGDIR)-l10n-`echo $$iso | tr A-Z a-z`/$(OODIR)/share/wordbook/$$iso/technical.dic; \
-		fi; \
+		if [ "$$iso" = "en-US" ]; then pkg=common; 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; \
 	done
 
 	# replace duplicate files in the langpacks with symlinks


Reply to: