summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/metapackages
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-28 01:13:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-28 01:13:13 -0600
commit1bc800c7b07c58572859f385296cbe9c6bc19c20 (patch)
treebc162782e7a759f843cca870a5d535e3036b0033 /ubuntu/precise/metapackages
parent69960f4e0f5db95482b565ad39bf4b95941942ab (diff)
downloadtde-packaging-1bc800c7b07c58572859f385296cbe9c6bc19c20.tar.gz
tde-packaging-1bc800c7b07c58572859f385296cbe9c6bc19c20.zip
Fix older settings files referring to tdm as kdm
Diffstat (limited to 'ubuntu/precise/metapackages')
-rwxr-xr-xubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity4
-rwxr-xr-xubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity4
2 files changed, 4 insertions, 4 deletions
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