diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-02-15 16:59:06 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-02-15 16:59:06 +0100 |
commit | 683152f3b286a04a76f31ee1eed839bbdb2ab307 (patch) | |
tree | fc382ee1f535909a1892d0e07ebeb957fa68c49f /ubuntu/precise/tdebase/debian/ksmserver-trinity.postrm | |
parent | cbfc487458706037e61278c9b5263685619d47f0 (diff) | |
download | tde-packaging-683152f3b286a04a76f31ee1eed839bbdb2ab307.tar.gz tde-packaging-683152f3b286a04a76f31ee1eed839bbdb2ab307.zip |
Fix handling of diverts on Debian and Ubuntu
Diffstat (limited to 'ubuntu/precise/tdebase/debian/ksmserver-trinity.postrm')
-rw-r--r-- | ubuntu/precise/tdebase/debian/ksmserver-trinity.postrm | 8 |
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) |