From 8514c8d0025d2e86b1d1b88b627c9aebac1ff8ff Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 3 Apr 1997 06:07:01 +0000 Subject: [PATCH] fixed bug #8351, in which install fails --- debian/preinst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/debian/preinst b/debian/preinst index 3378b45..d5f07d9 100755 --- a/debian/preinst +++ b/debian/preinst @@ -7,10 +7,12 @@ case "$1" in dpkg --assert-support-predepends 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 + if [ -n "$version" ]; 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 ;; -- 2.11.4.GIT