projects
/
amavisd-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dodan if uvjet kod brisanja
[amavisd-cn.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
b7fba03
..
a2e5bce
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-220,8
+220,10
@@
for conffile in /etc/logcheck/violations.ignore.d/amavisd-new \
/etc/logcheck/ignore.d.server/amavisd-new \
/etc/logcheck/ignore.d.workstation/amavisd-new \
/etc/cron.daily/amavisd-new; do
/etc/logcheck/ignore.d.server/amavisd-new \
/etc/logcheck/ignore.d.workstation/amavisd-new \
/etc/cron.daily/amavisd-new; do
- cp_echo "CN: Deleting old conffile ${conffile}..."
- rm -f ${conffile}
+ if [ -f ${conffile} ]; then
+ cp_echo "CN: Deleting old conffile ${conffile}..."
+ rm -f ${conffile}
+ fi
done
cp_mail $PKG $VERSION
done
cp_mail $PKG $VERSION