summaryrefslogtreecommitdiffstats
path: root/ubuntu/raring/tdebase/debian/ksmserver-trinity.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/raring/tdebase/debian/ksmserver-trinity.postrm')
-rw-r--r--ubuntu/raring/tdebase/debian/ksmserver-trinity.postrm28
1 files changed, 28 insertions, 0 deletions
diff --git a/ubuntu/raring/tdebase/debian/ksmserver-trinity.postrm b/ubuntu/raring/tdebase/debian/ksmserver-trinity.postrm
new file mode 100644
index 000000000..424143ebe
--- /dev/null
+++ b/ubuntu/raring/tdebase/debian/ksmserver-trinity.postrm
@@ -0,0 +1,28 @@
+#! /bin/sh -e
+
+package_name=ksmserver-trinity
+
+case "$1" in
+ remove)
+ # Intrepid plasma
+ dpkg-divert --package $package_name \
+ --rename --remove /usr/bin/plasma
+
+ # Jaunty plasma-desktop
+ dpkg-divert --package $package_name \
+ --rename --remove /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