diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-12-03 19:58:52 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-12-03 19:58:52 +0100 |
commit | 730df33c514f3f07144abfc979f08a7127ed0de9 (patch) | |
tree | 867babe376d9a6db21edf2be3ee8367dac68c22a /debian/wheezy/metapackages | |
parent | aa94cd3c574a442956f905b05988839e1d964575 (diff) | |
download | tde-packaging-730df33c514f3f07144abfc979f08a7127ed0de9.tar.gz tde-packaging-730df33c514f3f07144abfc979f08a7127ed0de9.zip |
Fix removing diverts from renamed packages on Debian and Ubuntu
Diffstat (limited to 'debian/wheezy/metapackages')
-rw-r--r-- | debian/wheezy/metapackages/rename-meta/debian/kdesudo-trinity.preinst | 13 | ||||
-rw-r--r-- | debian/wheezy/metapackages/rename-meta/debian/kio-umountwrapper-trinity.preinst | 22 |
2 files changed, 0 insertions, 35 deletions
diff --git a/debian/wheezy/metapackages/rename-meta/debian/kdesudo-trinity.preinst b/debian/wheezy/metapackages/rename-meta/debian/kdesudo-trinity.preinst deleted file mode 100644 index 12e16e22d..000000000 --- a/debian/wheezy/metapackages/rename-meta/debian/kdesudo-trinity.preinst +++ /dev/null @@ -1,13 +0,0 @@ -#! /bin/sh - -set -e - -package_name=kdesudo-trinity - -divert=`dpkg-divert --listpackage "/opt/trinity/bin/kdesu"` -if [ -n "$divert" ] && [ "$divert" = $package_name ]; then - dpkg-divert --package $package_name --rename --remove \ - /opt/trinity/bin/kdesu -fi - -exit 0 diff --git a/debian/wheezy/metapackages/rename-meta/debian/kio-umountwrapper-trinity.preinst b/debian/wheezy/metapackages/rename-meta/debian/kio-umountwrapper-trinity.preinst deleted file mode 100644 index b7af2273b..000000000 --- a/debian/wheezy/metapackages/rename-meta/debian/kio-umountwrapper-trinity.preinst +++ /dev/null @@ -1,22 +0,0 @@ -#! /bin/sh - -set -e - -package_name=kio-umountwrapper-trinity - -divert=`dpkg-divert --listpackage "/opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop"` -if [ -n "$divert" ] && [ "$divert" = $package_name ]; then - dpkg-divert --package $package_name --remove --rename /opt/trinity/share/apps/konqueror/servicemenus/media_safelyremove.desktop -fi - -divert=`dpkg-divert --listpackage "/opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop"` -if [ -n "$divert" ] && [ "$divert" = $package_name ]; then - dpkg-divert --package $package_name --remove --rename /opt/trinity/share/apps/dolphin/servicemenus/media_safelyremove.desktop -fi - -divert=`dpkg-divert --listpackage "/opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop"` -if [ -n "$divert" ] && [ "$divert" = $package_name ]; then - dpkg-divert --package $package_name --remove --rename /opt/trinity/share/apps/d3lphin/servicemenus/media_safelyremove.desktop -fi - -exit 0 |