Mercurial > trustbridge
diff packaging/linux-createpackage.sh.in @ 795:3a9b0c75f5a6
Added i18n code and german l10n to linux installer.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Tue, 15 Jul 2014 13:24:26 +0200 |
parents | ea8d13590cbd |
children | 02e357826417 |
line wrap: on
line diff
--- a/packaging/linux-createpackage.sh.in Tue Jul 15 12:03:45 2014 +0200 +++ b/packaging/linux-createpackage.sh.in Tue Jul 15 13:24:26 2014 +0200 @@ -16,6 +16,8 @@ "@CMAKE_BINARY_DIR@/ui/trustbridge" "@CMAKE_BINARY_DIR@/ui/trustbridge-tray-starter.sh") +L10N_DE_FILE="@CMAKE_BINARY_DIR@/packaging/linux-installer.l10n-de" + # Make installation in TMPDIR, this is what we will put into the # shar-archive. echo "Using $TMPDIR for temporary installation to build installer..." @@ -34,6 +36,7 @@ done sed -i "s/###BINNAMES###/${binnames}/" "$INSTALLER" sed -i "/###SHAR###/r $TMPSHAR" "$INSTALLER" +sed -i "/###L10N_DE###/r $L10N_DE_FILE" "$INSTALLER" chmod +x "$INSTALLER" echo "Cleaning up..."