X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=clamav-cn.git;a=blobdiff_plain;f=debian%2Fpreinst;h=5f13bf9ff1a047c655bc6501b409f8944e89ed50;hp=e098f0de608dc6be2140e9b5fdf7b976f334971f;hb=ab406f2206ea019032119d312bbb3fcec6104bb5;hpb=2b2cb7490765b545405d4355dc05b1227eb1757d diff --git a/debian/preinst b/debian/preinst index e098f0d..5f13bf9 100755 --- a/debian/preinst +++ b/debian/preinst @@ -13,11 +13,11 @@ rm_conffile() { local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME | \ sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")" if [ "$md5sum" != "$old_md5sum" ]; then - echo "Obsolete conffile $CONFFILE has been modified by you." - echo "Saving as $CONFFILE.dpkg-bak ..." + echo "CN: Obsolete conffile $CONFFILE has been modified by you." + echo "CN: Saving as $CONFFILE.dpkg-bak ..." mv -f "$CONFFILE" "$CONFFILE".dpkg-bak else - echo "Removing obsolete conffile $CONFFILE ..." + echo "CN: Removing obsolete conffile $CONFFILE ..." rm -f "$CONFFILE" fi } @@ -28,3 +28,5 @@ install|upgrade) rm_conffile clamav-cn "/etc/cron.hourly/clamav-sanesecurity" fi esac + +#DEBHELPER#