Fix broken scriptlet

there's a missing fi in %preun scriptlet that only affects EL6 build
This commit is contained in:
Haikel Guemar 2015-04-10 00:55:41 +02:00
parent 8eb4ca434e
commit 456d15d144

View File

@ -198,10 +198,11 @@ chkconfig --add %{name}-sentinel
%systemd_preun %{name}-sentinel.service
%else
if [ $1 -eq 0 ] ; then
service %{name} stop &> /dev/null
chkconfig --del %{name} &> /dev/null
service %{name}-sentinel stop &> /dev/null
chkconfig --del %{name}-sentinel &> /dev/null
service %{name} stop &> /dev/null
chkconfig --del %{name} &> /dev/null
service %{name}-sentinel stop &> /dev/null
chkconfig --del %{name}-sentinel &> /dev/null
fi
%endif
%postun