#! /bin/sh -e

case "$1" in
    install|upgrade)
	if [ -n "$2" ] && dpkg --compare-versions "$2" lt "1.0.8.6-1"
	then
	    if [ -d /usr/share/doc/icewm-gnome ]; then
		mv /usr/share/doc/icewm-gnome \
		/usr/share/doc/icewm-gnome.moved-by-preinst
	    fi
	fi
    ;;
esac


#DEBHELPER#

exit 0

