aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorHerton Ronaldo Krzesinski <herton@mandriva.com.br>2007-05-09 20:01:49 +0000
committerHerton Ronaldo Krzesinski <herton@mandriva.com.br>2007-05-09 20:01:49 +0000
commit3a7ab3da6c2e84d5a8461cf4490dceba841ed56a (patch)
tree48ec4146c360b6fb3d4931f48dbf3f76a524a82f /scripts
parent5ee2d6e05732d24ed87bb04c0915582d7475312c (diff)
downloadbootsplash-3a7ab3da6c2e84d5a8461cf4490dceba841ed56a.tar
bootsplash-3a7ab3da6c2e84d5a8461cf4490dceba841ed56a.tar.gz
bootsplash-3a7ab3da6c2e84d5a8461cf4490dceba841ed56a.tar.bz2
bootsplash-3a7ab3da6c2e84d5a8461cf4490dceba841ed56a.tar.xz
bootsplash-3a7ab3da6c2e84d5a8461cf4490dceba841ed56a.zip
fix shutdown message only in english, used patch from Flavio Bruno
Leitner, reported on #27663
Diffstat (limited to 'scripts')
-rw-r--r--scripts/splash.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/splash.sh b/scripts/splash.sh
index 63a02bc..09ac901 100644
--- a/scripts/splash.sh
+++ b/scripts/splash.sh
@@ -18,6 +18,12 @@ TEXTDOMAIN=bootsplash
TEXTDOMAINDIR=/etc/locale
LOCPATH=/etc/locale
+if [ -z "$LANGUAGE" ]
+then
+ . /etc/sysconfig/i18n
+ GP_LANG=${LANG}
+fi
+
# execute splash binary utility because we are a wrapper:
if [ "$1" == "-s" -o "$1" == "-u" -o "$1" == "-n" -o "$1" == "-f" ]; then
exec /sbin/splash $*