summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/tdebase/debian/ksmserver-trinity.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/precise/tdebase/debian/ksmserver-trinity.postrm')
-rw-r--r--ubuntu/precise/tdebase/debian/ksmserver-trinity.postrm8
1 files changed, 6 insertions, 2 deletions
diff --git a/ubuntu/precise/tdebase/debian/ksmserver-trinity.postrm b/ubuntu/precise/tdebase/debian/ksmserver-trinity.postrm
index 3ebe49de7..424143ebe 100644
--- a/ubuntu/precise/tdebase/debian/ksmserver-trinity.postrm
+++ b/ubuntu/precise/tdebase/debian/ksmserver-trinity.postrm
@@ -1,12 +1,16 @@
#! /bin/sh -e
+package_name=ksmserver-trinity
+
case "$1" in
remove)
# Intrepid plasma
- dpkg-divert --remove --rename /usr/bin/plasma
+ dpkg-divert --package $package_name \
+ --rename --remove /usr/bin/plasma
# Jaunty plasma-desktop
- dpkg-divert --remove --rename /usr/bin/plasma-desktop
+ dpkg-divert --package $package_name \
+ --rename --remove /usr/bin/plasma-desktop
;;
purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)