summaryrefslogtreecommitdiffstats
path: root/draklive-install.xsetup
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2010-05-24 14:56:31 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2010-05-24 14:56:31 +0000
commitf718107cff5921ebefe38a6bb7313ba2fd3c9965 (patch)
tree443dfdb224152f3bdaf7f9d7c61ab26cd841e1ff /draklive-install.xsetup
parent712c660d4cfed8ddacb06745873b2e5413fba836 (diff)
downloaddraklive-install-f718107cff5921ebefe38a6bb7313ba2fd3c9965.tar
draklive-install-f718107cff5921ebefe38a6bb7313ba2fd3c9965.tar.gz
draklive-install-f718107cff5921ebefe38a6bb7313ba2fd3c9965.tar.bz2
draklive-install-f718107cff5921ebefe38a6bb7313ba2fd3c9965.tar.xz
draklive-install-f718107cff5921ebefe38a6bb7313ba2fd3c9965.zip
make sure to use the user-selected locale
When running draklive-install automatically when the One boots, the user-selected locale won't be present in X environment, so we need to explicitly set it if we want the user to get translations for draklive-install
Diffstat (limited to 'draklive-install.xsetup')
-rwxr-xr-xdraklive-install.xsetup1
1 files changed, 1 insertions, 0 deletions
diff --git a/draklive-install.xsetup b/draklive-install.xsetup
index 12f197d..e6df573 100755
--- a/draklive-install.xsetup
+++ b/draklive-install.xsetup
@@ -1,6 +1,7 @@
#!/bin/sh
# to be sourced
if grep -q '\binstall\b' /proc/cmdline; then
+ . /etc/sysconfig/i18n
/usr/sbin/draklive-install
reboot
fi