summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/kdebase/debian/kdm-trinity.preinst
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick/kdebase/debian/kdm-trinity.preinst')
-rw-r--r--ubuntu/maverick/kdebase/debian/kdm-trinity.preinst29
1 files changed, 29 insertions, 0 deletions
diff --git a/ubuntu/maverick/kdebase/debian/kdm-trinity.preinst b/ubuntu/maverick/kdebase/debian/kdm-trinity.preinst
new file mode 100644
index 000000000..0e6a2f68b
--- /dev/null
+++ b/ubuntu/maverick/kdebase/debian/kdm-trinity.preinst
@@ -0,0 +1,29 @@
+#! /bin/sh -e
+
+case "$1" in
+
+ upgrade)
+ rm -f /etc/trinity/debian/kdm-update-menu.sh
+ rm -f /etc/trinity/debian/kdm.options
+ rm -f /etc/trinity/kdm/pixmaps/XFree86bw.xpm
+ rm -f /etc/trinity/kdm/pixmaps/XFree86.xpm
+ rm -f /etc/trinity/kdm/Xresources
+ rm -f /etc/menu-methods/kdm
+ ;;
+
+ install)
+ ;;
+
+ abort-upgrade)
+ ;;
+
+ *)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+
+esac
+
+#DEBHELPER#
+
+exit 0