*** empty log message ***
[findutils.git] / debian / preinst
blobe2d7244df2cf3702062131c6672915838b816578
1 #! /bin/sh
3 set -e
5 case "$1" in
6 install|upgrade)
7 dpkg --assert-support-predepends
8 if [ -n "$2" ]; then
9 version=$2
10 if dpkg --compare-versions $version le-nl 4.1-15 ; then
11 echo /etc/cron.daily/find has a new format.
12 echo Consider using the new /etc/cron.daily/find
13 echo and modifing /etc/updatedb.conf
14 echo Old versions of /etc/cron.daily/find may not work
19 abort-upgrade)
23 echo "preinst called with unknown argument \`$1'" >&2
24 exit 0
26 esac