]> granicus.if.org Git - pdns/commitdiff
Fix el6 post install issue with auth
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 23 Oct 2018 08:19:19 +0000 (10:19 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 23 Oct 2018 08:19:19 +0000 (10:19 +0200)
builder-support/specs/pdns.spec

index fe0fe8030c0a29a7dc2ced9de6f9a49d932ca1c7..bafdec2cb89657a3f35b46638886e88be1e63851 100644 (file)
@@ -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