From 11394aecd1f906fee2ebd2b90412aeba4651fbff Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 3 Apr 2019 22:56:40 +0900 Subject: DEB: use _base folder for a distro instead of specific distros (squeeze and maverick). Signed-off-by: Michele Calgaro --- .../scripts/casper-bottom/15autologin-trinity | 41 ---------------------- .../scripts/casper-bottom/25adduser-trinity | 33 ----------------- 2 files changed, 74 deletions(-) delete mode 100755 ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity delete mode 100755 ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity (limited to 'ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific') diff --git a/ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity b/ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/15autologin-trinity deleted file mode 100755 index a018471b7..000000000 --- a/ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific/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/maverick/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity b/ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific/scripts/casper-bottom/25adduser-trinity deleted file mode 100755 index bd764edcc..000000000 --- a/ubuntu/maverick/metapackages/casper-trinity/debian/distrospecific/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 -- cgit v1.2.1