summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/metapackages/casper-trinity/scripts
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2014-01-15 20:07:03 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-01-15 20:07:15 +0100
commite6d7e8e6936e70e1d6a7d1f5df5171280befbfd1 (patch)
treee4df23e3e314e60f112b3e6360f4a89c37ea8e23 /ubuntu/precise/metapackages/casper-trinity/scripts
parent68a2f23896b2dfd53c80fff69f3663b76b1b73e0 (diff)
downloadtde-packaging-e6d7e8e6936e70e1d6a7d1f5df5171280befbfd1.tar.gz
tde-packaging-e6d7e8e6936e70e1d6a7d1f5df5171280befbfd1.zip
Update remaining metapackages on Debian and Ubuntu
to conform the current automated scripts on build-farm
Diffstat (limited to 'ubuntu/precise/metapackages/casper-trinity/scripts')
-rwxr-xr-xubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity41
-rwxr-xr-xubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity33
2 files changed, 0 insertions, 74 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
deleted file mode 100755
index a018471b7..000000000
--- a/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-
-PREREQ=""
-DESCRIPTION="Setting up automatic login (Trinity)..."
-
-prereqs()
-{
- echo "$PREREQ"
-}
-
-case $1 in
-# get pre-requisites
-prereqs)
- prereqs
- exit 0
- ;;
-esac
-
-. /scripts/casper-functions
-
-log_begin_msg "$DESCRIPTION"
-
-if [ -f /root/etc/trinity/kdm/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
-fi
-
-if [ -f /root/etc/trinity/tdm/tdmrc ]; then
- # Configure TDM-Trinity autologin
- sed -i -r \
- -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \
- -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USERNAME/" \
- -e "s/^#?AutoLoginAgain=.*\$/AutoLoginAgain=true/" \
- /root/etc/trinity/tdm/tdmrc
-fi
-
-log_end_msg
diff --git a/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity b/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity
deleted file mode 100755
index bd764edcc..000000000
--- a/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-PREREQ=""
-DESCRIPTION="Adding live session user (Trinity)..."
-
-prereqs()
-{
- echo "$PREREQ"
-}
-
-case $1 in
-# get pre-requisites
-prereqs)
- prereqs
- exit 0
- ;;
-esac
-
-. /scripts/casper-functions
-
-log_begin_msg "$DESCRIPTION"
-
-#Trinity
-if [ -d "/root/etc/trinity" ]; then
- if [ -f "/root/usr/share/applications/ubiquity-gtkui.desktop" ]; then
- sed -i 's/\(OnlyShowIn=.*\)/\1KDE;TDE;/' "/root/usr/share/applications/ubiquity-gtkui.desktop"
- fi
- if [ -f "/root/home/$USERNAME/Desktop/ubiquity-gtkui.desktop" ]; then
- sed -i 's/\(OnlyShowIn=.*\)/\1KDE;TDE;/' "/root/home/$USERNAME/Desktop/ubiquity-gtkui.desktop"
- fi
-fi
-
-log_end_msg