1 #!/bin/sh 2 3 dpkg --assert-support-predepends 2> /dev/null 4 5 case $? in 6 0) ;; # fine, supported 7 1) exit 1 ;; # dpkg writes an error message to stdio 8 2) cat <<EOT 9 This package requires features of dpkg unavailable in this version. 10 Please upgrade to a more recent version (>=1.1.0) of dpkg. 11 EOT 12 exit 1 ;; # dpkg didn't recognise the option 13 *) exit 2 ;; 14 esac 15 16 # Old/erroneous conffile from early post-woody sid 17 if [ -f /etc/mkinitrd/scripts/e2fsprogs ] 18 then 19 rm -rf /etc/mkinitrd/scripts/e2fsprogs 20 fi 21 rm -f /etc/mkinitrd/scripts/e2fsprogs.mkinitrd 22 23 #DEBHELPER# 24