From: Pieter Lexis Date: Tue, 23 Oct 2018 08:19:19 +0000 (+0200) Subject: Fix el6 post install issue with auth X-Git-Tag: dnsdist-1.3.3~30^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F7093%2Fhead;p=thirdparty%2Fpdns.git Fix el6 post install issue with auth --- diff --git a/builder-support/specs/pdns.spec b/builder-support/specs/pdns.spec index fe0fe8030c..bafdec2cb8 100644 --- a/builder-support/specs/pdns.spec +++ b/builder-support/specs/pdns.spec @@ -270,7 +270,7 @@ exit 0 %if 0%{?rhel} >= 7 %systemd_preun pdns.service %else -if [ \$1 -eq 0 ]; then +if [ $1 -eq 0 ]; then /sbin/service pdns stop >/dev/null 2>&1 || : /sbin/chkconfig --del pdns fi @@ -280,7 +280,7 @@ fi %if 0%{?rhel} >= 7 %systemd_postun_with_restart pdns.service %else -if [ \$1 -ge 1 ]; then +if [ $1 -ge 1 ]; then /sbin/service pdns condrestart >/dev/null 2>&1 || : fi %endif