Spec review (#225856)

This commit is contained in:
Zdenek Prikryl 2009-02-04 07:33:38 +00:00
parent 8c3d1296d1
commit eb072fe833

View File

@ -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