summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-17 13:53:30 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-17 13:53:30 -0500
commitae204e2fee8ce5c1a71cbd62199137ae4f8055a4 (patch)
treeddeb49263eda7b8fa0a4ca5f41fc3ddf39ffcafa /ubuntu/maverick
parent6d4e868d76197f7f401259b554145e4abd8a2113 (diff)
downloadtde-packaging-ae204e2fee8ce5c1a71cbd62199137ae4f8055a4.tar.gz
tde-packaging-ae204e2fee8ce5c1a71cbd62199137ae4f8055a4.zip
Fix synaptic-trinity upgrade failure
Diffstat (limited to 'ubuntu/maverick')
-rw-r--r--ubuntu/maverick/metapackages/synaptic-trinity/debian/preinst13
1 files changed, 0 insertions, 13 deletions
diff --git a/ubuntu/maverick/metapackages/synaptic-trinity/debian/preinst b/ubuntu/maverick/metapackages/synaptic-trinity/debian/preinst
index dc1ddc268..209296dbd 100644
--- a/ubuntu/maverick/metapackages/synaptic-trinity/debian/preinst
+++ b/ubuntu/maverick/metapackages/synaptic-trinity/debian/preinst
@@ -19,19 +19,6 @@ case "$1" in
;;
upgrade)
- # remove old diversion if present
- divert=`dpkg-divert --listpackage "/usr/share/applications/synaptic.desktop"`
- if [ -n "$divert" ] && [ "$divert" = "$package_name" ]; then
- dpkg-divert --remove --package $package_name --rename "/usr/share/applications/synaptic.desktop"
- fi
-
- # add new diversion
- divert=`dpkg-divert --listpackage "/usr/share/applications/synaptic.desktop"`
- if [ -z "$divert" ]; then
- dpkg-divert --package $package_name \
- --divert /usr/share/applications/synaptic.desktop.distrib \
- --rename /usr/share/applications/synaptic.desktop
- fi
;;
abort-upgrade)