diff options
author | Daniel Baumann <daniel@debian.org> | 2008-11-02 13:07:24 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:44 +0100 |
commit | d0276d0b16eab1827c81e462ad28a48318b227fc (patch) | |
tree | c2a639f8909d373f24732f4e797d46236ab9b2e8 /functions/l10n.sh | |
parent | f070302f5817204e4e84e434618e484128ae432f (diff) | |
download | vyos-live-build-d0276d0b16eab1827c81e462ad28a48318b227fc.tar.gz vyos-live-build-d0276d0b16eab1827c81e462ad28a48318b227fc.zip |
Also checking for gettext catalogs to be installed before enabling l10n.
Diffstat (limited to 'functions/l10n.sh')
-rwxr-xr-x | functions/l10n.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/l10n.sh b/functions/l10n.sh index 1e149888c..4e6c9e9af 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" |