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