[SCM] Debian Live build scripts branch, master, updated. 1.0.1-1-76-g4de79b6

Daniel Baumann daniel at debian.org
Mon Nov 3 11:16:03 UTC 2008


The following commit has been merged in the master branch:
commit e603f87b653b7ffa4684117224aee35d84afd184
Author: Daniel Baumann <daniel at debian.org>
Date:   Sun Nov 2 13:07:24 2008 +0100

    Also checking for gettext catalogs to be installed before enabling l10n.

diff --git a/functions/l10n.sh b/functions/l10n.sh
index 1e14988..4e6c9e9 100755
--- a/functions/l10n.sh
+++ b/functions/l10n.sh
@@ -7,7 +7,7 @@
 # This is free software, and you are welcome to redistribute it
 # under certain conditions; see COPYING for details.
 
-if [ -x "$(which gettext.sh 2>/dev/null)" ]
+if [ -x "$(which gettext.sh 2>/dev/null)" ] && Find_files /usr/share/locale/*/LC_MESSAGES/${PROGRAM}.mo
 then
 	_L10N="enabled"
 

-- 
Debian Live build scripts



More information about the debian-live-changes mailing list