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