summaryrefslogtreecommitdiffstats
path: root/ubuntu
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-01-06 20:46:55 +0100
committerSlávek Banko <[email protected]>2013-01-06 20:50:20 +0100
commit2e67ccecd7891b97b21d3ecfdf0753bf77888d3c (patch)
treeb0f1f1904735aa6297a98a919ac4ae7d49bf833f /ubuntu
parentd2f32337f00cf98faef8475e769d9c0381efd257 (diff)
downloadtde-packaging-2e67ccecd7891b97b21d3ecfdf0753bf77888d3c.tar.gz
tde-packaging-2e67ccecd7891b97b21d3ecfdf0753bf77888d3c.zip
Added metapackages trinity-livecd, casper-trinity and ubiquity-trinity on Ubuntu
Diffstat (limited to 'ubuntu')
-rw-r--r--ubuntu/maverick/metapackages/casper-trinity/debian/changelog6
-rw-r--r--ubuntu/maverick/metapackages/casper-trinity/debian/compat1
-rw-r--r--ubuntu/maverick/metapackages/casper-trinity/debian/control14
-rw-r--r--ubuntu/maverick/metapackages/casper-trinity/debian/copyright23
-rw-r--r--ubuntu/maverick/metapackages/casper-trinity/debian/install1
-rwxr-xr-xubuntu/maverick/metapackages/casper-trinity/debian/rules6
-rw-r--r--ubuntu/maverick/metapackages/casper-trinity/debian/source/format1
-rw-r--r--ubuntu/maverick/metapackages/casper-trinity/debian/source/options3
-rwxr-xr-xubuntu/maverick/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity41
-rwxr-xr-xubuntu/maverick/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity33
-rw-r--r--ubuntu/maverick/metapackages/trinity-livecd/debian/changelog6
-rw-r--r--ubuntu/maverick/metapackages/trinity-livecd/debian/compat1
-rw-r--r--ubuntu/maverick/metapackages/trinity-livecd/debian/control23
-rw-r--r--ubuntu/maverick/metapackages/trinity-livecd/debian/copyright14
-rwxr-xr-xubuntu/maverick/metapackages/trinity-livecd/debian/rules6
-rw-r--r--ubuntu/maverick/metapackages/trinity-livecd/debian/source/format1
-rw-r--r--ubuntu/maverick/metapackages/trinity-livecd/debian/source/options3
-rw-r--r--ubuntu/maverick/metapackages/ubiquity-trinity/debian/changelog6
-rw-r--r--ubuntu/maverick/metapackages/ubiquity-trinity/debian/compat1
-rw-r--r--ubuntu/maverick/metapackages/ubiquity-trinity/debian/control11
-rw-r--r--ubuntu/maverick/metapackages/ubiquity-trinity/debian/copyright23
-rw-r--r--ubuntu/maverick/metapackages/ubiquity-trinity/debian/install1
-rwxr-xr-xubuntu/maverick/metapackages/ubiquity-trinity/debian/rules6
-rw-r--r--ubuntu/maverick/metapackages/ubiquity-trinity/debian/source/format1
-rw-r--r--ubuntu/maverick/metapackages/ubiquity-trinity/debian/source/options3
-rwxr-xr-xubuntu/maverick/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity52
-rw-r--r--ubuntu/precise/metapackages/casper-trinity/debian/changelog6
-rw-r--r--ubuntu/precise/metapackages/casper-trinity/debian/compat1
-rw-r--r--ubuntu/precise/metapackages/casper-trinity/debian/control14
-rw-r--r--ubuntu/precise/metapackages/casper-trinity/debian/copyright23
-rw-r--r--ubuntu/precise/metapackages/casper-trinity/debian/install1
-rwxr-xr-xubuntu/precise/metapackages/casper-trinity/debian/rules6
-rw-r--r--ubuntu/precise/metapackages/casper-trinity/debian/source/format1
-rw-r--r--ubuntu/precise/metapackages/casper-trinity/debian/source/options3
-rwxr-xr-xubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity41
-rwxr-xr-xubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity33
-rw-r--r--ubuntu/precise/metapackages/trinity-livecd/debian/changelog6
-rw-r--r--ubuntu/precise/metapackages/trinity-livecd/debian/compat1
-rw-r--r--ubuntu/precise/metapackages/trinity-livecd/debian/control23
-rw-r--r--ubuntu/precise/metapackages/trinity-livecd/debian/copyright14
-rwxr-xr-xubuntu/precise/metapackages/trinity-livecd/debian/rules6
-rw-r--r--ubuntu/precise/metapackages/trinity-livecd/debian/source/format1
-rw-r--r--ubuntu/precise/metapackages/trinity-livecd/debian/source/options3
-rw-r--r--ubuntu/precise/metapackages/ubiquity-trinity/debian/changelog6
-rw-r--r--ubuntu/precise/metapackages/ubiquity-trinity/debian/compat1
-rw-r--r--ubuntu/precise/metapackages/ubiquity-trinity/debian/control11
-rw-r--r--ubuntu/precise/metapackages/ubiquity-trinity/debian/copyright23
-rw-r--r--ubuntu/precise/metapackages/ubiquity-trinity/debian/install1
-rwxr-xr-xubuntu/precise/metapackages/ubiquity-trinity/debian/rules6
-rw-r--r--ubuntu/precise/metapackages/ubiquity-trinity/debian/source/format1
-rw-r--r--ubuntu/precise/metapackages/ubiquity-trinity/debian/source/options3
-rwxr-xr-xubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity52
52 files changed, 574 insertions, 0 deletions
diff --git a/ubuntu/maverick/metapackages/casper-trinity/debian/changelog b/ubuntu/maverick/metapackages/casper-trinity/debian/changelog
new file mode 100644
index 000000000..1bf13c6d7
--- /dev/null
+++ b/ubuntu/maverick/metapackages/casper-trinity/debian/changelog
@@ -0,0 +1,6 @@
+casper-trinity (4:3.5.13-1ubuntu0+ax0) precise; urgency=low
+
+ * Initial version
+
+ -- Slávek Banko <[email protected]> Mon, 05 Dec 2012 22:05:23 +0100
+
diff --git a/ubuntu/maverick/metapackages/casper-trinity/debian/compat b/ubuntu/maverick/metapackages/casper-trinity/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/ubuntu/maverick/metapackages/casper-trinity/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/ubuntu/maverick/metapackages/casper-trinity/debian/control b/ubuntu/maverick/metapackages/casper-trinity/debian/control
new file mode 100644
index 000000000..433197e45
--- /dev/null
+++ b/ubuntu/maverick/metapackages/casper-trinity/debian/control
@@ -0,0 +1,14 @@
+Source: casper-trinity
+Section: misc
+Priority: optional
+Maintainer: Timothy Pearson <[email protected]>
+Build-Depends: cdbs, debhelper (>= 7.0.50~)
+Standards-Version: 3.8.4
+
+Package: casper-trinity
+Architecture: all
+Section: misc
+Priority: extra
+Depends: ${shlibs:Depends}, ${misc:Depends}, casper
+Tag: admin::boot, admin::filesystem, implemented-in::shell, protocol::smb, role::plugin, scope::utility, special::completely-tagged, works-with-format::iso9660
+Description: Casper addon scripts for Trinity
diff --git a/ubuntu/maverick/metapackages/casper-trinity/debian/copyright b/ubuntu/maverick/metapackages/casper-trinity/debian/copyright
new file mode 100644
index 000000000..a866ee13d
--- /dev/null
+++ b/ubuntu/maverick/metapackages/casper-trinity/debian/copyright
@@ -0,0 +1,23 @@
+Author: Slávek Banko <[email protected]>
+
+License:
+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2010, Slávek Banko <[email protected]> and
+is licensed under the GPL, see above.
diff --git a/ubuntu/maverick/metapackages/casper-trinity/debian/install b/ubuntu/maverick/metapackages/casper-trinity/debian/install
new file mode 100644
index 000000000..fc8f31aa9
--- /dev/null
+++ b/ubuntu/maverick/metapackages/casper-trinity/debian/install
@@ -0,0 +1 @@
+scripts usr/share/initramfs-tools
diff --git a/ubuntu/maverick/metapackages/casper-trinity/debian/rules b/ubuntu/maverick/metapackages/casper-trinity/debian/rules
new file mode 100755
index 000000000..9ded53d05
--- /dev/null
+++ b/ubuntu/maverick/metapackages/casper-trinity/debian/rules
@@ -0,0 +1,6 @@
+#! /usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
diff --git a/ubuntu/maverick/metapackages/casper-trinity/debian/source/format b/ubuntu/maverick/metapackages/casper-trinity/debian/source/format
new file mode 100644
index 000000000..89ae9db8f
--- /dev/null
+++ b/ubuntu/maverick/metapackages/casper-trinity/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/ubuntu/maverick/metapackages/casper-trinity/debian/source/options b/ubuntu/maverick/metapackages/casper-trinity/debian/source/options
new file mode 100644
index 000000000..d71748bba
--- /dev/null
+++ b/ubuntu/maverick/metapackages/casper-trinity/debian/source/options
@@ -0,0 +1,3 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
diff --git a/ubuntu/maverick/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity b/ubuntu/maverick/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity
new file mode 100755
index 000000000..a018471b7
--- /dev/null
+++ b/ubuntu/maverick/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity
@@ -0,0 +1,41 @@
+#!/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/scripts/casper-bottom/25adduser-trinity b/ubuntu/maverick/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity
new file mode 100755
index 000000000..bd764edcc
--- /dev/null
+++ b/ubuntu/maverick/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity
@@ -0,0 +1,33 @@
+#!/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
diff --git a/ubuntu/maverick/metapackages/trinity-livecd/debian/changelog b/ubuntu/maverick/metapackages/trinity-livecd/debian/changelog
new file mode 100644
index 000000000..33cd71ed3
--- /dev/null
+++ b/ubuntu/maverick/metapackages/trinity-livecd/debian/changelog
@@ -0,0 +1,6 @@
+trinity-livecd (4:3.5.13-1ubuntu0+ax0) precise; urgency=low
+
+ * Initial version
+
+ -- Slávek Banko <[email protected]> Wed, 12 Dec 2012 19:49:19 +0100
+
diff --git a/ubuntu/maverick/metapackages/trinity-livecd/debian/compat b/ubuntu/maverick/metapackages/trinity-livecd/debian/compat
new file mode 100644
index 000000000..7ed6ff82d
--- /dev/null
+++ b/ubuntu/maverick/metapackages/trinity-livecd/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/ubuntu/maverick/metapackages/trinity-livecd/debian/control b/ubuntu/maverick/metapackages/trinity-livecd/debian/control
new file mode 100644
index 000000000..318c6ee15
--- /dev/null
+++ b/ubuntu/maverick/metapackages/trinity-livecd/debian/control
@@ -0,0 +1,23 @@
+Source: trinity-livecd
+Section: tde
+Priority: optional
+Maintainer: Timothy Pearson <[email protected]>
+Standards-Version: 3.8.3
+Build-Depends: cdbs, debhelper (>= 5)
+
+Package: trinity-livecd
+Architecture: all
+Depends: akregator-trinity, amarok-trinity, ark-trinity, basket-trinity, eyesapplet-trinity, juk-trinity, k3b-trinity, kaffeine-trinity, karm-trinity, kbstate-trinity, kcalc-trinity, kcharselect-trinity, tdeaddons-kfile-plugins-trinity, tdeadmin-kfile-plugins-trinity, tdegames-trinity, tdegraphics-kfile-plugins-trinity, tdemultimedia-kfile-plugins-trinity, tdenetwork-kfile-plugins-trinity, tdepim-kfile-plugins-trinity, tdesdk-kfile-plugins-trinity, kdessh-trinity, tdesudo-trinity, kdewallpapers-trinity, kdf-trinity, kedit-trinity, kfloppy-trinity, kget-trinity, kgpg-trinity, kicker-applets-trinity, kleopatra-trinity, kmailcvt-trinity, kmix-trinity, kmoon-trinity, kompare-trinity, kontact-trinity, konversation-trinity, kopete-trinity, korn-trinity, kpdf-trinity, kpowersave-nohal-trinity | kpowersave-trinity, kppp-trinity, krdc-trinity, kscreensaver-trinity, ksmserver-trinity, ksnapshot-trinity, kteatime-trinity, ktnef-trinity, ktorrent-trinity, kuickshow-trinity, kwalletmanager-trinity, kweather-trinity, kworldclock-trinity, libarts1-akode-trinity, sudo-trinity, superkaramba-trinity, trinity-keyring
+Recommends:
+ kpresenter-trinity, kspread-trinity, kword-trinity,
+ tde-i18n-cs-trinity, tde-i18n-de-trinity, tde-i18n-es-trinity, tde-i18n-fr-trinity, tde-i18n-it-trinity, tde-i18n-ru-trinity,
+ koffice-i18n-cs-trinity, koffice-i18n-de-trinity, koffice-i18n-es-trinity, koffice-i18n-fr-trinity, koffice-i18n-it-trinity, koffice-i18n-ru-trinity,
+ k3b-i18n-trinity,
+ gtk-qt-engine-trinity, gtk3-tqt-engine-trinity, tdenetworkmanager-trinity, foomatic-db, cups, ubuntu-minimal
+Suggests: casper-trinity, ubiquity-trinity
+Description: Essential selection for Trinity LiveCD
+ This package depends on selected packages in the Trinity Desktop Environment
+ .
+ It is safe to remove this package if some of the desktop system packages are
+ not desired.
+
diff --git a/ubuntu/maverick/metapackages/trinity-livecd/debian/copyright b/ubuntu/maverick/metapackages/trinity-livecd/debian/copyright
new file mode 100644
index 000000000..1cc9d090e
--- /dev/null
+++ b/ubuntu/maverick/metapackages/trinity-livecd/debian/copyright
@@ -0,0 +1,14 @@
+Copyright 2004, Canonical Ltd.
+
+This program is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free Software
+Foundation; either version 2, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License with your
+system, in /usr/share/common-licenses/GPL-2. If not, write to the Free
+Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+02111-1307, USA.
diff --git a/ubuntu/maverick/metapackages/trinity-livecd/debian/rules b/ubuntu/maverick/metapackages/trinity-livecd/debian/rules
new file mode 100755
index 000000000..3591ab5e4
--- /dev/null
+++ b/ubuntu/maverick/metapackages/trinity-livecd/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
diff --git a/ubuntu/maverick/metapackages/trinity-livecd/debian/source/format b/ubuntu/maverick/metapackages/trinity-livecd/debian/source/format
new file mode 100644
index 000000000..89ae9db8f
--- /dev/null
+++ b/ubuntu/maverick/metapackages/trinity-livecd/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/ubuntu/maverick/metapackages/trinity-livecd/debian/source/options b/ubuntu/maverick/metapackages/trinity-livecd/debian/source/options
new file mode 100644
index 000000000..d71748bba
--- /dev/null
+++ b/ubuntu/maverick/metapackages/trinity-livecd/debian/source/options
@@ -0,0 +1,3 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/changelog b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/changelog
new file mode 100644
index 000000000..62a0bda9d
--- /dev/null
+++ b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/changelog
@@ -0,0 +1,6 @@
+ubiquity-trinity (4:3.5.13-1ubuntu0+ax0) precise; urgency=low
+
+ * Initial version
+
+ -- Slávek Banko <[email protected]> Mon, 19 Dec 2012 18:54:50 +0100
+
diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/compat b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/control b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/control
new file mode 100644
index 000000000..3edef9d2b
--- /dev/null
+++ b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/control
@@ -0,0 +1,11 @@
+Source: ubiquity-trinity
+Section: admin
+Priority: optional
+Maintainer: Timothy Pearson <[email protected]>
+Build-Depends: cdbs, debhelper (>= 7.0.50~)
+Standards-Version: 3.8.4
+
+Package: ubiquity-trinity
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ubiquity-frontend-gtk | ubiquity
+Description: Ubiquity addon scripts for Trinity
diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/copyright b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/copyright
new file mode 100644
index 000000000..a866ee13d
--- /dev/null
+++ b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/copyright
@@ -0,0 +1,23 @@
+Author: Slávek Banko <[email protected]>
+
+License:
+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2010, Slávek Banko <[email protected]> and
+is licensed under the GPL, see above.
diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/install b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/install
new file mode 100644
index 000000000..2f8bf51a5
--- /dev/null
+++ b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/install
@@ -0,0 +1 @@
+ubiquity-hooks/* usr/lib/ubiquity/target-config
diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/rules b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/rules
new file mode 100755
index 000000000..9ded53d05
--- /dev/null
+++ b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/rules
@@ -0,0 +1,6 @@
+#! /usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/source/format b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/source/format
new file mode 100644
index 000000000..89ae9db8f
--- /dev/null
+++ b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/debian/source/options b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/source/options
new file mode 100644
index 000000000..d71748bba
--- /dev/null
+++ b/ubuntu/maverick/metapackages/ubiquity-trinity/debian/source/options
@@ -0,0 +1,3 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
diff --git a/ubuntu/maverick/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity b/ubuntu/maverick/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity
new file mode 100755
index 000000000..e31165c02
--- /dev/null
+++ b/ubuntu/maverick/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity
@@ -0,0 +1,52 @@
+#! /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
diff --git a/ubuntu/precise/metapackages/casper-trinity/debian/changelog b/ubuntu/precise/metapackages/casper-trinity/debian/changelog
new file mode 100644
index 000000000..1bf13c6d7
--- /dev/null
+++ b/ubuntu/precise/metapackages/casper-trinity/debian/changelog
@@ -0,0 +1,6 @@
+casper-trinity (4:3.5.13-1ubuntu0+ax0) precise; urgency=low
+
+ * Initial version
+
+ -- Slávek Banko <[email protected]> Mon, 05 Dec 2012 22:05:23 +0100
+
diff --git a/ubuntu/precise/metapackages/casper-trinity/debian/compat b/ubuntu/precise/metapackages/casper-trinity/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/ubuntu/precise/metapackages/casper-trinity/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/ubuntu/precise/metapackages/casper-trinity/debian/control b/ubuntu/precise/metapackages/casper-trinity/debian/control
new file mode 100644
index 000000000..433197e45
--- /dev/null
+++ b/ubuntu/precise/metapackages/casper-trinity/debian/control
@@ -0,0 +1,14 @@
+Source: casper-trinity
+Section: misc
+Priority: optional
+Maintainer: Timothy Pearson <[email protected]>
+Build-Depends: cdbs, debhelper (>= 7.0.50~)
+Standards-Version: 3.8.4
+
+Package: casper-trinity
+Architecture: all
+Section: misc
+Priority: extra
+Depends: ${shlibs:Depends}, ${misc:Depends}, casper
+Tag: admin::boot, admin::filesystem, implemented-in::shell, protocol::smb, role::plugin, scope::utility, special::completely-tagged, works-with-format::iso9660
+Description: Casper addon scripts for Trinity
diff --git a/ubuntu/precise/metapackages/casper-trinity/debian/copyright b/ubuntu/precise/metapackages/casper-trinity/debian/copyright
new file mode 100644
index 000000000..a866ee13d
--- /dev/null
+++ b/ubuntu/precise/metapackages/casper-trinity/debian/copyright
@@ -0,0 +1,23 @@
+Author: Slávek Banko <[email protected]>
+
+License:
+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2010, Slávek Banko <[email protected]> and
+is licensed under the GPL, see above.
diff --git a/ubuntu/precise/metapackages/casper-trinity/debian/install b/ubuntu/precise/metapackages/casper-trinity/debian/install
new file mode 100644
index 000000000..fc8f31aa9
--- /dev/null
+++ b/ubuntu/precise/metapackages/casper-trinity/debian/install
@@ -0,0 +1 @@
+scripts usr/share/initramfs-tools
diff --git a/ubuntu/precise/metapackages/casper-trinity/debian/rules b/ubuntu/precise/metapackages/casper-trinity/debian/rules
new file mode 100755
index 000000000..9ded53d05
--- /dev/null
+++ b/ubuntu/precise/metapackages/casper-trinity/debian/rules
@@ -0,0 +1,6 @@
+#! /usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
diff --git a/ubuntu/precise/metapackages/casper-trinity/debian/source/format b/ubuntu/precise/metapackages/casper-trinity/debian/source/format
new file mode 100644
index 000000000..89ae9db8f
--- /dev/null
+++ b/ubuntu/precise/metapackages/casper-trinity/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/ubuntu/precise/metapackages/casper-trinity/debian/source/options b/ubuntu/precise/metapackages/casper-trinity/debian/source/options
new file mode 100644
index 000000000..d71748bba
--- /dev/null
+++ b/ubuntu/precise/metapackages/casper-trinity/debian/source/options
@@ -0,0 +1,3 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
diff --git a/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity b/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity
new file mode 100755
index 000000000..a018471b7
--- /dev/null
+++ b/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/15autologin-trinity
@@ -0,0 +1,41 @@
+#!/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
new file mode 100755
index 000000000..bd764edcc
--- /dev/null
+++ b/ubuntu/precise/metapackages/casper-trinity/scripts/casper-bottom/25adduser-trinity
@@ -0,0 +1,33 @@
+#!/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
diff --git a/ubuntu/precise/metapackages/trinity-livecd/debian/changelog b/ubuntu/precise/metapackages/trinity-livecd/debian/changelog
new file mode 100644
index 000000000..33cd71ed3
--- /dev/null
+++ b/ubuntu/precise/metapackages/trinity-livecd/debian/changelog
@@ -0,0 +1,6 @@
+trinity-livecd (4:3.5.13-1ubuntu0+ax0) precise; urgency=low
+
+ * Initial version
+
+ -- Slávek Banko <[email protected]> Wed, 12 Dec 2012 19:49:19 +0100
+
diff --git a/ubuntu/precise/metapackages/trinity-livecd/debian/compat b/ubuntu/precise/metapackages/trinity-livecd/debian/compat
new file mode 100644
index 000000000..7ed6ff82d
--- /dev/null
+++ b/ubuntu/precise/metapackages/trinity-livecd/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/ubuntu/precise/metapackages/trinity-livecd/debian/control b/ubuntu/precise/metapackages/trinity-livecd/debian/control
new file mode 100644
index 000000000..318c6ee15
--- /dev/null
+++ b/ubuntu/precise/metapackages/trinity-livecd/debian/control
@@ -0,0 +1,23 @@
+Source: trinity-livecd
+Section: tde
+Priority: optional
+Maintainer: Timothy Pearson <[email protected]>
+Standards-Version: 3.8.3
+Build-Depends: cdbs, debhelper (>= 5)
+
+Package: trinity-livecd
+Architecture: all
+Depends: akregator-trinity, amarok-trinity, ark-trinity, basket-trinity, eyesapplet-trinity, juk-trinity, k3b-trinity, kaffeine-trinity, karm-trinity, kbstate-trinity, kcalc-trinity, kcharselect-trinity, tdeaddons-kfile-plugins-trinity, tdeadmin-kfile-plugins-trinity, tdegames-trinity, tdegraphics-kfile-plugins-trinity, tdemultimedia-kfile-plugins-trinity, tdenetwork-kfile-plugins-trinity, tdepim-kfile-plugins-trinity, tdesdk-kfile-plugins-trinity, kdessh-trinity, tdesudo-trinity, kdewallpapers-trinity, kdf-trinity, kedit-trinity, kfloppy-trinity, kget-trinity, kgpg-trinity, kicker-applets-trinity, kleopatra-trinity, kmailcvt-trinity, kmix-trinity, kmoon-trinity, kompare-trinity, kontact-trinity, konversation-trinity, kopete-trinity, korn-trinity, kpdf-trinity, kpowersave-nohal-trinity | kpowersave-trinity, kppp-trinity, krdc-trinity, kscreensaver-trinity, ksmserver-trinity, ksnapshot-trinity, kteatime-trinity, ktnef-trinity, ktorrent-trinity, kuickshow-trinity, kwalletmanager-trinity, kweather-trinity, kworldclock-trinity, libarts1-akode-trinity, sudo-trinity, superkaramba-trinity, trinity-keyring
+Recommends:
+ kpresenter-trinity, kspread-trinity, kword-trinity,
+ tde-i18n-cs-trinity, tde-i18n-de-trinity, tde-i18n-es-trinity, tde-i18n-fr-trinity, tde-i18n-it-trinity, tde-i18n-ru-trinity,
+ koffice-i18n-cs-trinity, koffice-i18n-de-trinity, koffice-i18n-es-trinity, koffice-i18n-fr-trinity, koffice-i18n-it-trinity, koffice-i18n-ru-trinity,
+ k3b-i18n-trinity,
+ gtk-qt-engine-trinity, gtk3-tqt-engine-trinity, tdenetworkmanager-trinity, foomatic-db, cups, ubuntu-minimal
+Suggests: casper-trinity, ubiquity-trinity
+Description: Essential selection for Trinity LiveCD
+ This package depends on selected packages in the Trinity Desktop Environment
+ .
+ It is safe to remove this package if some of the desktop system packages are
+ not desired.
+
diff --git a/ubuntu/precise/metapackages/trinity-livecd/debian/copyright b/ubuntu/precise/metapackages/trinity-livecd/debian/copyright
new file mode 100644
index 000000000..1cc9d090e
--- /dev/null
+++ b/ubuntu/precise/metapackages/trinity-livecd/debian/copyright
@@ -0,0 +1,14 @@
+Copyright 2004, Canonical Ltd.
+
+This program is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free Software
+Foundation; either version 2, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License with your
+system, in /usr/share/common-licenses/GPL-2. If not, write to the Free
+Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+02111-1307, USA.
diff --git a/ubuntu/precise/metapackages/trinity-livecd/debian/rules b/ubuntu/precise/metapackages/trinity-livecd/debian/rules
new file mode 100755
index 000000000..3591ab5e4
--- /dev/null
+++ b/ubuntu/precise/metapackages/trinity-livecd/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
diff --git a/ubuntu/precise/metapackages/trinity-livecd/debian/source/format b/ubuntu/precise/metapackages/trinity-livecd/debian/source/format
new file mode 100644
index 000000000..89ae9db8f
--- /dev/null
+++ b/ubuntu/precise/metapackages/trinity-livecd/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/ubuntu/precise/metapackages/trinity-livecd/debian/source/options b/ubuntu/precise/metapackages/trinity-livecd/debian/source/options
new file mode 100644
index 000000000..d71748bba
--- /dev/null
+++ b/ubuntu/precise/metapackages/trinity-livecd/debian/source/options
@@ -0,0 +1,3 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
diff --git a/ubuntu/precise/metapackages/ubiquity-trinity/debian/changelog b/ubuntu/precise/metapackages/ubiquity-trinity/debian/changelog
new file mode 100644
index 000000000..62a0bda9d
--- /dev/null
+++ b/ubuntu/precise/metapackages/ubiquity-trinity/debian/changelog
@@ -0,0 +1,6 @@
+ubiquity-trinity (4:3.5.13-1ubuntu0+ax0) precise; urgency=low
+
+ * Initial version
+
+ -- Slávek Banko <[email protected]> Mon, 19 Dec 2012 18:54:50 +0100
+
diff --git a/ubuntu/precise/metapackages/ubiquity-trinity/debian/compat b/ubuntu/precise/metapackages/ubiquity-trinity/debian/compat
new file mode 100644
index 000000000..7f8f011eb
--- /dev/null
+++ b/ubuntu/precise/metapackages/ubiquity-trinity/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/ubuntu/precise/metapackages/ubiquity-trinity/debian/control b/ubuntu/precise/metapackages/ubiquity-trinity/debian/control
new file mode 100644
index 000000000..3edef9d2b
--- /dev/null
+++ b/ubuntu/precise/metapackages/ubiquity-trinity/debian/control
@@ -0,0 +1,11 @@
+Source: ubiquity-trinity
+Section: admin
+Priority: optional
+Maintainer: Timothy Pearson <[email protected]>
+Build-Depends: cdbs, debhelper (>= 7.0.50~)
+Standards-Version: 3.8.4
+
+Package: ubiquity-trinity
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ubiquity-frontend-gtk | ubiquity
+Description: Ubiquity addon scripts for Trinity
diff --git a/ubuntu/precise/metapackages/ubiquity-trinity/debian/copyright b/ubuntu/precise/metapackages/ubiquity-trinity/debian/copyright
new file mode 100644
index 000000000..a866ee13d
--- /dev/null
+++ b/ubuntu/precise/metapackages/ubiquity-trinity/debian/copyright
@@ -0,0 +1,23 @@
+Author: Slávek Banko <[email protected]>
+
+License:
+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2010, Slávek Banko <[email protected]> and
+is licensed under the GPL, see above.
diff --git a/ubuntu/precise/metapackages/ubiquity-trinity/debian/install b/ubuntu/precise/metapackages/ubiquity-trinity/debian/install
new file mode 100644
index 000000000..2f8bf51a5
--- /dev/null
+++ b/ubuntu/precise/metapackages/ubiquity-trinity/debian/install
@@ -0,0 +1 @@
+ubiquity-hooks/* usr/lib/ubiquity/target-config
diff --git a/ubuntu/precise/metapackages/ubiquity-trinity/debian/rules b/ubuntu/precise/metapackages/ubiquity-trinity/debian/rules
new file mode 100755
index 000000000..9ded53d05
--- /dev/null
+++ b/ubuntu/precise/metapackages/ubiquity-trinity/debian/rules
@@ -0,0 +1,6 @@
+#! /usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
diff --git a/ubuntu/precise/metapackages/ubiquity-trinity/debian/source/format b/ubuntu/precise/metapackages/ubiquity-trinity/debian/source/format
new file mode 100644
index 000000000..89ae9db8f
--- /dev/null
+++ b/ubuntu/precise/metapackages/ubiquity-trinity/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/ubuntu/precise/metapackages/ubiquity-trinity/debian/source/options b/ubuntu/precise/metapackages/ubiquity-trinity/debian/source/options
new file mode 100644
index 000000000..d71748bba
--- /dev/null
+++ b/ubuntu/precise/metapackages/ubiquity-trinity/debian/source/options
@@ -0,0 +1,3 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
diff --git a/ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity b/ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity
new file mode 100755
index 000000000..e31165c02
--- /dev/null
+++ b/ubuntu/precise/metapackages/ubiquity-trinity/ubiquity-hooks/55_trinity
@@ -0,0 +1,52 @@
+#! /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