minor rpm specfile changes

pull/1721/head
Andrew Bauer 2016-12-26 10:07:38 -06:00
parent 0d1dbf1745
commit 56277bce09
1 changed files with 1 additions and 2 deletions

View File

@ -142,7 +142,7 @@ echo -e "\nCreating and installing a ZoneMinder SELinux policy module. Please wa
%if 0%{?with_init_systemd}
# Initial installation
if [ $1 -eq 1 ] ; then
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
%systemd_post %{name}.service
fi
%endif
@ -222,7 +222,6 @@ rm -rf %{_docdir}/%{name}-%{version}
%endif
%if 0%{?with_init_systemd}
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
%systemd_postun_with_restart %{name}.service
%endif