#! /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 ]; then mv /usr/share/doc/icewm \ /usr/share/doc/icewm.moved-by-preinst fi fi ;; esac exit 0