X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=amavisd-cn.git;a=blobdiff_plain;f=debian%2Fpostinst;h=a1a8fe2ea92f3e55958f231f02b9dc04c9983726;hp=4ce2de2ed98696f9296a8d763738a11ee35edf2e;hb=ab5e282c076bb8875fc4fdbf0048b517bf0af7be;hpb=9881eb03821c641460350eee4ed7aa0350e5c6ca diff --git a/debian/postinst b/debian/postinst index 4ce2de2..a1a8fe2 100755 --- a/debian/postinst +++ b/debian/postinst @@ -48,18 +48,14 @@ update_postfix # amavisd.conf if [ -f "$ACONFOLD" ]; then cp_echo "CN: Amavisd configuration is now in $ACONF." - cp_echo " Previous location was $ACONFOLD." - cp_backup_conffile "$ACONFOLD" + noisy_backup "$ACONFOLD" rm -f "$ACONFOLD" - cp_echo " Old file renamed to $ACONFMOVED." - fi cp_echo "" cp_echo "CN: Please read /usr/share/doc/amavisd-cn/README.CARNet." elif [ -f "$ACONFOLD.disabled" ]; then - cp_backup_conffile "$ACONFOLD.disabled" "$(basename $ACONFOLD)" + noisy_backup "$ACONFOLD.disabled" "$(basename $ACONFOLD)" rm -f "$ACONFOLD.disabled" - cp_echo "CN: Removed $ACONFOLD.disabled." - cp_echo " Please read /usr/share/doc/amavisd-cn/README.CARNet." + cp_echo "CN: Please read /usr/share/doc/amavisd-cn/README.CARNet." fi if [ -f $ACONF ]; then