d/gtk-update-icon-cache.preinst: Remove

This was here for upgrades from versions older than oldstable, but we
do not support skipping a stable release.
This commit is contained in:
Simon McVittie 2020-11-26 10:06:47 +00:00
parent de6a937fe0
commit 89c6136eb7

View File

@ -1,14 +0,0 @@
#!/bin/sh
set -e
# Clean up existing diversions from libgtk-3-bin
if dpkg --compare-versions "$2" lt "3.20.5-2" ; then
dpkg-divert --remove --package libgtk-3-bin --rename \
--divert /usr/sbin/update-icon-caches.gtk2 \
/usr/sbin/update-icon-caches
dpkg-divert --remove --package libgtk-3-bin --rename \
--divert /usr/share/man/man8/update-icon-caches.gtk2.8.gz \
/usr/share/man/man8/update-icon-caches.8.gz
fi
#DEBHELPER#