summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/tdebase/debian/tdm-trinity.preinst
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-22 00:20:07 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-22 00:20:07 -0600
commit96dbf4dcb1e04571363422a97649fc929b35beb8 (patch)
treead8c3a9d2d4c1e9919a30ec7663e3f0b64e7d8f9 /ubuntu/maverick/tdebase/debian/tdm-trinity.preinst
parent80e4199df2ac852cfb22848698cabe9ba28e5a67 (diff)
downloadtde-packaging-96dbf4dcb1e04571363422a97649fc929b35beb8.tar.gz
tde-packaging-96dbf4dcb1e04571363422a97649fc929b35beb8.zip
Second part of prior commit
Diffstat (limited to 'ubuntu/maverick/tdebase/debian/tdm-trinity.preinst')
-rw-r--r--ubuntu/maverick/tdebase/debian/tdm-trinity.preinst29
1 files changed, 29 insertions, 0 deletions
diff --git a/ubuntu/maverick/tdebase/debian/tdm-trinity.preinst b/ubuntu/maverick/tdebase/debian/tdm-trinity.preinst
new file mode 100644
index 000000000..09163c460
--- /dev/null
+++ b/ubuntu/maverick/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