JezK
Edit File: awstats.preinst
#! /bin/sh set -e case "$1" in upgrade) # clean-up old script that didn't run if [ -n "$2" ]; then if dpkg --compare-versions "$2" lt '7.8-1~'; then rm -f /etc/logrotate.d/httpd-prerotate/awstats/prerotate.sh rmdir /etc/logrotate.d/httpd-prerotate/awstats/ || true fi fi ;; install|abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 0 ;; esac exit 0