From 1bc800c7b07c58572859f385296cbe9c6bc19c20 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 28 Jan 2013 01:13:13 -0600 Subject: Fix older settings files referring to tdm as kdm --- .../casper-trinity/scripts/casper-bottom/15autologin-trinity | 4 ++-- .../precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ubuntu/precise') diff --git a/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity b/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity index a018471b7..1ce0d51e1 100755 --- a/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity +++ b/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity @@ -20,13 +20,13 @@ esac log_begin_msg "$DESCRIPTION" -if [ -f /root/etc/trinity/kdm/kdmrc ]; then +if [ -f /root/etc/trinity/tdm/kdmrc ]; then # Configure KDM-Trinity autologin sed -i -r \ -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USERNAME/" \ -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ - /root/etc/trinity/kdm/kdmrc + /root/etc/trinity/tdm/kdmrc fi if [ -f /root/etc/trinity/tdm/tdmrc ]; then diff --git a/ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity b/ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity index e31165c02..e265c8a04 100755 --- a/ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity +++ b/ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity @@ -13,13 +13,13 @@ db_get passwd/username USER="$RET" db_get passwd/auto-login if [ -n "$USER" ] && [ "$RET" = true ]; then - if $chroot $ROOT [ -f /etc/trinity/kdm/kdmrc ]; then + if $chroot $ROOT [ -f /etc/trinity/tdm/kdmrc ]; then # Configure KDM autologin $log $chroot $ROOT sed -i$BACKUP -r \ -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USER/" \ -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \ - /etc/trinity/kdm/kdmrc + /etc/trinity/tdm/kdmrc fi if $chroot $ROOT [ -f /etc/trinity/tdm/tdmrc ]; then -- cgit v1.2.1