From d0276d0b16eab1827c81e462ad28a48318b227fc Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Sun, 2 Nov 2008 13:07:24 +0100
Subject: Also checking for gettext catalogs to be installed before enabling
l10n.
---
functions/l10n.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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"
--
cgit v1.0