Spec review (#225856)
This commit is contained in:
parent
8c3d1296d1
commit
eb072fe833
4
gpm.spec
4
gpm.spec
@ -106,7 +106,7 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%preun
|
%preun
|
||||||
%ifnarch s390 s390x
|
%ifnarch s390 s390x
|
||||||
if [ $1 -eq 0 ]; then
|
if [ "$1" = "0" ]; then
|
||||||
/sbin/service gpm stop >/dev/null 2>&1
|
/sbin/service gpm stop >/dev/null 2>&1
|
||||||
/sbin/chkconfig --del gpm
|
/sbin/chkconfig --del gpm
|
||||||
fi
|
fi
|
||||||
@ -115,7 +115,7 @@ fi
|
|||||||
|
|
||||||
%postun
|
%postun
|
||||||
%ifnarch s390 s390x
|
%ifnarch s390 s390x
|
||||||
if [ $1 -ge 1 ]; then
|
if [ "$1" -ge "1" ]; then
|
||||||
/sbin/service gpm condrestart >/dev/null 2>&1
|
/sbin/service gpm condrestart >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user