blob: e2d7244df2cf3702062131c6672915838b816578 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#! /bin/sh
set -e
case "$1" in
install|upgrade)
dpkg --assert-support-predepends
if [ -n "$2" ]; then
version=$2
if dpkg --compare-versions $version le-nl 4.1-15 ; then
echo /etc/cron.daily/find has a new format.
echo Consider using the new /etc/cron.daily/find
echo and modifing /etc/updatedb.conf
echo Old versions of /etc/cron.daily/find may not work
fi
fi
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
|