Public bug reported:

Binary package hint: kdm

My /etc/default/locale reads like this:

#LANG="de_DE.UTF-8"
LANG="de_DE.utf8"
LC_MESSAGES="en_US.utf8"
LC_CTYPE="de_DE.utf8"

With this setup, the kdm init script /etc/init.d/kdm from kdm
4:3.5.9-0ubuntu7.2 fails due to a malformed sed expression in this line:

$USESYSTEMLOCALE && sed -i "s|^#\?Language=.*|Language=`grep -re "LANG="
/etc/default/locale | awk 'BEGIN { FS = "[\\"|.]" } { print $2 }'`|"
$KDMCFG

One possible solution is to grep for ^LANG instead of only LANG. Another
would be to source /etc/default/locale and print $LANG afterwards.

** Affects: kdebase (Ubuntu)
     Importance: Undecided
         Status: New

-- 
kdm init script dies after editing system locale
https://bugs.launchpad.net/bugs/234253
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to