
package called gtk-update-icon-cache to break a dependency cycle with adwaita-icon-theme when building the package. (Closes: #747392) As the gtk-update-icon-cache binary doesn't actually have any libgtk-3-0 dependency, there is no longer a reason to ship a gtk2 and gtk3 variant. So from now on we will only ship one implementation built from src:gtk+3.0 and drop the Debian specific -3.0 suffix. To simplify the transition make libgtk-3-bin depend on gtk-update-icon-cache. Once all theme packages have been updated, this dependency can be dropped.
15 lines
464 B
Bash
15 lines
464 B
Bash
#!/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#
|