summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick_automake/kdebase/debian/ksmserver-kde3.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick_automake/kdebase/debian/ksmserver-kde3.postrm')
-rw-r--r--ubuntu/maverick_automake/kdebase/debian/ksmserver-kde3.postrm24
1 files changed, 24 insertions, 0 deletions
diff --git a/ubuntu/maverick_automake/kdebase/debian/ksmserver-kde3.postrm b/ubuntu/maverick_automake/kdebase/debian/ksmserver-kde3.postrm
new file mode 100644
index 000000000..3ebe49de7
--- /dev/null
+++ b/ubuntu/maverick_automake/kdebase/debian/ksmserver-kde3.postrm
@@ -0,0 +1,24 @@
+#! /bin/sh -e
+
+case "$1" in
+ remove)
+ # Intrepid plasma
+ dpkg-divert --remove --rename /usr/bin/plasma
+
+ # Jaunty plasma-desktop
+ dpkg-divert --remove --rename /usr/bin/plasma-desktop
+ ;;
+
+ purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0