Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

Commit 456d15d

Browse files
author
Haikel Guemar
committed
Fix broken scriptlet
there's a missing fi in %preun scriptlet that only affects EL6 build
1 parent 8eb4ca4 commit 456d15d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

redis.spec

+5-4
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,11 @@ chkconfig --add %{name}-sentinel
198198
%systemd_preun %{name}-sentinel.service
199199
%else
200200
if [ $1 -eq 0 ] ; then
201-
service %{name} stop &> /dev/null
202-
chkconfig --del %{name} &> /dev/null
203-
service %{name}-sentinel stop &> /dev/null
204-
chkconfig --del %{name}-sentinel &> /dev/null
201+
service %{name} stop &> /dev/null
202+
chkconfig --del %{name} &> /dev/null
203+
service %{name}-sentinel stop &> /dev/null
204+
chkconfig --del %{name}-sentinel &> /dev/null
205+
fi
205206
%endif
206207

207208
%postun

0 commit comments

Comments
 (0)