diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2014-01-15 20:07:03 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-01-15 20:07:15 +0100 |
commit | e6d7e8e6936e70e1d6a7d1f5df5171280befbfd1 (patch) | |
tree | e4df23e3e314e60f112b3e6360f4a89c37ea8e23 /ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity | |
parent | 68a2f23896b2dfd53c80fff69f3663b76b1b73e0 (diff) | |
download | tde-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/ubiquity-trinity/ubiquity-hooks/55_trinity')
-rwxr-xr-x | ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity b/ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity deleted file mode 100755 index e31165c02..000000000 --- a/ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity +++ /dev/null @@ -1,52 +0,0 @@ -#! /bin/sh -set -e - -#-- configure autologin -. /usr/share/debconf/confmodule - -export LANG=C # avoid locale errors from perl -ROOT=/target -chroot=chroot -log='log-output -t trinity-livecd' - -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 - # 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 - fi - - if $chroot $ROOT [ -f /etc/trinity/tdm/tdmrc ]; then - # Configure TDM 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/tdm/tdmrc - fi -fi - -#-- cleanup additional packages -packages="" -if [ -f "$ROOT/var/lib/dpkg/info/casper-trinity.list" ]; then - packages="$packages casper-trinity" -fi -if [ -f "$ROOT/var/lib/dpkg/info/ubiquity-trinity.list" ]; then - packages="$packages ubiquity-trinity" -fi -if [ -n "$packages" ]; then - if [ -f "$ROOT/usr/bin/apt-get" ]; then - $chroot $ROOT apt-get -y purge $packages - $chroot $ROOT apt-get -y --purge autoremove - else - $chroot $ROOT dpkg -P $packages - fi -fi - -exit 0 |