diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-10-17 22:15:20 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-10-17 22:15:20 +0200 |
commit | 7c0ebbd53540689d2fdd5c496bc755f1f3f58c10 (patch) | |
tree | 8929b7576dd134ef23de19ebf12de9ea324435a3 /ubuntu/maverick/metapackages/synaptic-trinity/debian/preinst | |
parent | f6da211b5ff166056ad485ea7e9e1bda7ef4ea84 (diff) | |
parent | ae204e2fee8ce5c1a71cbd62199137ae4f8055a4 (diff) | |
download | tde-packaging-7c0ebbd53540689d2fdd5c496bc755f1f3f58c10.tar.gz tde-packaging-7c0ebbd53540689d2fdd5c496bc755f1f3f58c10.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'ubuntu/maverick/metapackages/synaptic-trinity/debian/preinst')
-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) |