summaryrefslogtreecommitdiffstats
path: root/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.postrm
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2014-03-09 03:26:50 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-03-09 03:26:50 +0100
commit4538fd673d9de4a9764f7ce96e35dc9d4e4977cf (patch)
treeb47d494ac058f89a207b3c8219560bea557d5780 /ubuntu/lucid_automake/kdebase/debian/tdm-kde3.postrm
parent5fff8c470474773fad5bd31decf0aa25a5c4f59b (diff)
downloadtde-packaging-4538fd673d9de4a9764f7ce96e35dc9d4e4977cf.tar.gz
tde-packaging-4538fd673d9de4a9764f7ce96e35dc9d4e4977cf.zip
Housekeeping in Debian and Ubuntu
Diffstat (limited to 'ubuntu/lucid_automake/kdebase/debian/tdm-kde3.postrm')
-rw-r--r--ubuntu/lucid_automake/kdebase/debian/tdm-kde3.postrm38
1 files changed, 0 insertions, 38 deletions
diff --git a/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.postrm b/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.postrm
deleted file mode 100644
index f33a54fc4..000000000
--- a/ubuntu/lucid_automake/kdebase/debian/tdm-kde3.postrm
+++ /dev/null
@@ -1,38 +0,0 @@
-#! /bin/sh -e
-
-case "$1" in
- purge)
- rm -rf /var/log/tdm-kde3.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-kde3; do
- if [ -d "$DIR" ]; then
- rm -rf "$DIR"
- fi
- done
- rm -f /var/log/tdm-kde3.log*
-fi
-
-#DEBHELPER#
-
-exit 0