From df6ab6321e4b0c249675cb47c7e64d59a14511c7 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Tue, 23 Oct 2018 10:19:19 +0200 Subject: [PATCH] Fix el6 post install issue with auth --- builder-support/specs/pdns.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder-support/specs/pdns.spec b/builder-support/specs/pdns.spec index fe0fe8030..bafdec2cb 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 -- 2.50.0