diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-17 13:53:30 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-17 13:53:30 -0500 |
commit | ae204e2fee8ce5c1a71cbd62199137ae4f8055a4 (patch) | |
tree | ddeb49263eda7b8fa0a4ca5f41fc3ddf39ffcafa /ubuntu/maverick/metapackages/synaptic-trinity | |
parent | 6d4e868d76197f7f401259b554145e4abd8a2113 (diff) | |
download | tde-packaging-ae204e2fee8ce5c1a71cbd62199137ae4f8055a4.tar.gz tde-packaging-ae204e2fee8ce5c1a71cbd62199137ae4f8055a4.zip |
Fix synaptic-trinity upgrade failure
Diffstat (limited to 'ubuntu/maverick/metapackages/synaptic-trinity')
-rw-r--r-- | ubuntu/maverick/metapackages/synaptic-trinity/debian/preinst | 13 |
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) |