X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=6bcb8901949f1d3e17dcb02562e690a559f09f36;hb=6707132eeab1c57c10f11dd5b24ad11e13728c7a;hp=4231a3d9faf04310d42a66909379be9da4f23eef;hpb=c77198ae812c58878c44ee275eb3c557dcd1db41;p=amavisd-cn.git diff --git a/debian/postinst b/debian/postinst index 4231a3d..6bcb890 100755 --- a/debian/postinst +++ b/debian/postinst @@ -51,6 +51,14 @@ domain=$RET update_postfix $* +# Patchiramo /usr/sbin/amavisd-new zbog warninga: +# (!!)collect_results from (/usr/bin/ripole): exit 102 File <> is not OLE2 format\n + +if ! grep -q '\[0,102\]);' /usr/sbin/amavisd-new; then + sed -i.BAK '33055s/\[0\]/[0,102]/' /usr/sbin/amavisd-new + echo "CN: Patchiram /usr/sbin/amavisd-new" +fi + # amavisd.conf if [ -f "$ACONFOLD" ]; then cp_echo "CN: Amavisd configuration is now in $ACONF."