projects
/
amavisd-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbec046
)
dodan if uvjet kod brisanja
debian/3%2.7.1_cn1
author
Ivan Rako
<irako@nekkar.carnet.hr>
Tue, 5 Nov 2013 11:59:33 +0000
(12:59 +0100)
committer
Ivan Rako
<irako@nekkar.carnet.hr>
Tue, 5 Nov 2013 11:59:33 +0000
(12:59 +0100)
debian/postinst
patch
|
blob
|
history
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
- 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