summaryrefslogtreecommitdiffstats
path: root/ubuntu/raring/metapackages
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
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')
-rw-r--r--ubuntu/raring/metapackages/rename-meta/debian/kdesudo-trinity.preinst13
-rw-r--r--ubuntu/raring/metapackages/rename-meta/debian/kio-umountwrapper-trinity.preinst22
2 files changed, 0 insertions, 35 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
diff --git a/ubuntu/raring/metapackages/rename-meta/debian/kio-umountwrapper-trinity.preinst b/ubuntu/raring/metapackages/rename-meta/debian/kio-umountwrapper-trinity.preinst
deleted file mode 100644
index b7af2273b..000000000
--- a/ubuntu/raring/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