summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormax.bra2016-10-18 13:13:57 +0200
committermax.bra2016-10-18 13:13:57 +0200
commit7a563b8cadeb05824f7aa0e55ecc52f5d2b633f7 (patch)
tree0dcc3e035f057758eac4b33f53213e66d830ff80
parent3d993db3c558a80358556ecfc4b1bdf81b289d44 (diff)
downloadaur-7a563b8cadeb05824f7aa0e55ecc52f5d2b633f7.tar.gz
litle changes without version bump
-rw-r--r--pi-hole-standalone.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/pi-hole-standalone.install b/pi-hole-standalone.install
index 574620ae2e9e..c434b47e962d 100644
--- a/pi-hole-standalone.install
+++ b/pi-hole-standalone.install
@@ -5,7 +5,7 @@ post_install() {
/opt/pihole/mimic_setupVars.conf.sh
/usr/bin/pihole updateGravity > /dev/null
systemctl daemon-reload > /dev/null
- [ ! `systemctl is-active pi-hole-gravity.timer 2>&1 >/dev/null` ] && systemctl start pi-hole-gravity.timer
+ systemctl is-active pi-hole-gravity.timer 2>&1 >/dev/null || systemctl start pi-hole-gravity.timer
}
post_upgrade() {