From ae204e2fee8ce5c1a71cbd62199137ae4f8055a4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 17 Oct 2014 13:53:30 -0500 Subject: Fix synaptic-trinity upgrade failure --- .../maverick/metapackages/synaptic-trinity/debian/preinst | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'ubuntu') 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) -- cgit v1.2.1