summaryrefslogtreecommitdiffstats
path: root/ubuntu/raring/metapackages/rename-meta/debian/kdesudo-trinity.preinst
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-12-03 19:58:52 +0100
committerSlávek Banko <slavek.banko@axis.cz>2013-12-03 19:58:52 +0100
commit730df33c514f3f07144abfc979f08a7127ed0de9 (patch)
tree867babe376d9a6db21edf2be3ee8367dac68c22a /ubuntu/raring/metapackages/rename-meta/debian/kdesudo-trinity.preinst
parentaa94cd3c574a442956f905b05988839e1d964575 (diff)
downloadtde-packaging-730df33c514f3f07144abfc979f08a7127ed0de9.tar.gz
tde-packaging-730df33c514f3f07144abfc979f08a7127ed0de9.zip
Fix removing diverts from renamed packages on Debian and Ubuntu
Diffstat (limited to 'ubuntu/raring/metapackages/rename-meta/debian/kdesudo-trinity.preinst')
-rw-r--r--ubuntu/raring/metapackages/rename-meta/debian/kdesudo-trinity.preinst13
1 files changed, 0 insertions, 13 deletions
diff --git a/ubuntu/raring/metapackages/rename-meta/debian/kdesudo-trinity.preinst b/ubuntu/raring/metapackages/rename-meta/debian/kdesudo-trinity.preinst
deleted file mode 100644
index 12e16e22d..000000000
--- a/ubuntu/raring/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