summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/tdebase/debian/tdm-trinity.postrm
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-04-03 22:56:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-04-03 22:56:40 +0900
commit11394aecd1f906fee2ebd2b90412aeba4651fbff (patch)
treebcf750380e6d9fc7dbe524e16bbe2afde25dcfa0 /ubuntu/maverick/tdebase/debian/tdm-trinity.postrm
parentd24bd898174453b586ac90f2ef7a60165fa26fde (diff)
downloadtde-packaging-11394aecd1f906fee2ebd2b90412aeba4651fbff.tar.gz
tde-packaging-11394aecd1f906fee2ebd2b90412aeba4651fbff.zip
DEB: use _base folder for a distro instead of specific distros (squeeze
and maverick). Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ubuntu/maverick/tdebase/debian/tdm-trinity.postrm')
-rw-r--r--ubuntu/maverick/tdebase/debian/tdm-trinity.postrm38
1 files changed, 0 insertions, 38 deletions
diff --git a/ubuntu/maverick/tdebase/debian/tdm-trinity.postrm b/ubuntu/maverick/tdebase/debian/tdm-trinity.postrm
deleted file mode 100644
index 3dfb32123..000000000
--- a/ubuntu/maverick/tdebase/debian/tdm-trinity.postrm
+++ /dev/null
@@ -1,38 +0,0 @@
-#! /bin/sh -e
-
-case "$1" in
- purge)
- rm -rf /var/log/tdm-trinity.log*
- ;;
-
- remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-
- ;;
-
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-if [ "$1" = "abort-install" -o "$1" = "abort-upgrade" ]; then
- # roll back displacement of default display manager file
- if [ -e "$DEFAULT_DISPLAY_MANAGER_FILE.dpkg-tmp" ]; then
- # FIXME - redo this part uses shell-lib.sh from xfree86
- #observe "rolling back change of default X display manager"
- mv "$DEFAULT_DISPLAY_MANAGER_FILE.dpkg-tmp" "$DEFAULT_DISPLAY_MANAGER_FILE"
- fi
-fi
-
-if [ "$1" = "purge" ]; then
- for DIR in /var/lib/tdm-trinity; do
- if [ -d "$DIR" ]; then
- rm -rf "$DIR"
- fi
- done
- rm -f /var/log/tdm-trinity.log*
-fi
-
-#DEBHELPER#
-
-exit 0