5
if [ -d /usr/share/doc/@SHARED_PKG@ -a ! -L /usr/share/doc/@SHARED_PKG@ ]; then
6
if rmdir /usr/share/doc/@SHARED_PKG@; then
7
ln -sf @COMMON_PKG@ /usr/share/doc/@SHARED_PKG@
9
echo "Warning: could not remove /usr/share/doc/@SHARED_PKG@." >&2
13
# versions prior to 2.10.1-1 used the 2.4.0 binary version and generated module
14
# files below /etc/gtk-2.0 which will we can not leave behind (since they
15
# reference modules not on the system anymore)
16
if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt "2.10.3-2"; then
17
echo "Removing generated module files coming from the previous Gtk binary version..."
18
rm -v -f /etc/gtk-2.0/gdk-pixbuf.loaders
19
rm -v -f /etc/gtk-2.0/gtk.immodules