Correct editing of /etc/profile for LANG in locales-all script on Progress Linux...
authorDaniel Baumann <daniel@debian.org>
Thu, 24 Jan 2013 08:25:22 +0000 (09:25 +0100)
committerDaniel Baumann <daniel@debian.org>
Thu, 24 Jan 2013 08:25:29 +0000 (09:25 +0100)
scripts/config/0060-locales-all

index 0949848..8713498 100755 (executable)
@@ -43,7 +43,7 @@ Configure_locales_all ()
 
        if [ -e /etc/progress-linux_version ]
        then
-               sed -i -e "s|^ *LANG=.*|LANG=\"${LIVE_LOCALES}\"|" /etc/profile
+               sed -i -e "s|^ *export LANG=.*|export LANG=\"${LIVE_LOCALES}\"|" /etc/profile
        else
                printf 'export LANG="%s"\n' "${_LOCALE}" > /etc/profile.d/zz-live-config_locales-all.sh
        fi