From: Theodore Ts'o Date: Fri, 14 Mar 2008 19:13:45 +0000 (-0400) Subject: debian: Remove preinstall script which is no longer necessary X-Git-Tag: v1.40.9~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12617a183048a42eeab0d7f7f7197e704ad7a6aa;p=thirdparty%2Fe2fsprogs.git debian: Remove preinstall script which is no longer necessary The preinstall script checked for dpkg --asert-support-predepends, which has been true since 1996. Also it removed configuration files which haven't been around since well before Debian sarge, more than two stable releases ago. Signed-off-by: "Theodore Ts'o" --- diff --git a/debian/e2fsprogs.preinst b/debian/e2fsprogs.preinst deleted file mode 100644 index 1c43c0f42..000000000 --- a/debian/e2fsprogs.preinst +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -dpkg --assert-support-predepends 2> /dev/null - -case $? in - 0) ;; # fine, supported - 1) exit 1 ;; # dpkg writes an error message to stdio - 2) cat <=1.1.0) of dpkg. -EOT - exit 1 ;; # dpkg didn't recognise the option - *) exit 2 ;; -esac - -# Old/erroneous conffile from early post-woody sid -if [ -f /etc/mkinitrd/scripts/e2fsprogs ] -then - rm -rf /etc/mkinitrd/scripts/e2fsprogs -fi -rm -f /etc/mkinitrd/scripts/e2fsprogs.mkinitrd - -#DEBHELPER#