aboutsummaryrefslogtreecommitdiffstats
path: root/main/syslog-ng/syslog-ng.post-install
diff options
context:
space:
mode:
authorAdrian Guenter <adrian@gntr.me>2018-02-04 21:40:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-02-06 14:55:38 +0000
commit791d812d5ba36a8c7db81cb276ac50ad9af609b8 (patch)
treedb9c32c65ea5a2c7a50fe5848f18f12e1a9f24ba /main/syslog-ng/syslog-ng.post-install
parent0aacf88e5e7181cef152b7b645ae603f01258d93 (diff)
downloadaports-791d812d5ba36a8c7db81cb276ac50ad9af609b8.tar.gz
aports-791d812d5ba36a8c7db81cb276ac50ad9af609b8.tar.bz2
aports-791d812d5ba36a8c7db81cb276ac50ad9af609b8.tar.xz
main/syslog-ng: upgrade to 3.13.2; modernize
Diffstat (limited to 'main/syslog-ng/syslog-ng.post-install')
-rw-r--r--main/syslog-ng/syslog-ng.post-install8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/syslog-ng/syslog-ng.post-install b/main/syslog-ng/syslog-ng.post-install
index ea2a5c2b2e..230a5ba0d0 100644
--- a/main/syslog-ng/syslog-ng.post-install
+++ b/main/syslog-ng/syslog-ng.post-install
@@ -1,6 +1,6 @@
#!/bin/sh
-[ ! -f /var/log/auth.log ] && touch /var/log/auth.log
-[ ! -f /var/log/error.log ] && touch /var/log/error.log
-[ ! -f /var/log/mail.log ] && touch /var/log/mail.log
-[ ! -f /var/log/kern.log ] && touch /var/log/kern.log
+[ -f /var/log/auth.log ] || touch /var/log/auth.log
+[ -f /var/log/error.log ] || touch /var/log/error.log
+[ -f /var/log/mail.log ] || touch /var/log/mail.log
+[ -f /var/log/kern.log ] || touch /var/log/kern.log