mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-28 20:44:08 +08:00
541d173d91
Clarify and clean up the badblocks man page and the com_err info file.
17 lines
374 B
Bash
17 lines
374 B
Bash
#!/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 <<EOT
|
|
This package requires features of dpkg unavailable in this version.
|
|
Please upgrade to a more recent version (>=1.1.0) of dpkg.
|
|
EOT
|
|
exit 1 ;; # dpkg didn't recognise the option
|
|
*) exit 2 ;;
|
|
esac
|
|
|
|
#DEBHELPER#
|