Fix broken scriptlet
there's a missing fi in %preun scriptlet that only affects EL6 build
This commit is contained in:
parent
8eb4ca434e
commit
456d15d144
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user