Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > 4b48983583ea55520f762a898cca8db0 > files > 1

bootsplash-3.2.8-1.1mdv2007.1.src.rpm

diff -purN bootsplash-3.1.14.orig/scripts/splash.sh bootsplash-3.1.14/scripts/splash.sh
--- bootsplash-3.1.14.orig/scripts/splash.sh	2006-12-14 13:40:16.000000000 -0200
+++ bootsplash-3.1.14/scripts/splash.sh	2006-12-14 13:40:29.000000000 -0200
@@ -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 $*