release up, replaced -gt with -ge for cpupower

This commit is contained in:
Alex Burmashev 2014-04-18 15:05:40 +04:00
parent 75432248e6
commit 05f81c7133

View file

@ -28,7 +28,7 @@
%define rpmrel %mkrel 0.%{kpatch}.%{mibrel}
%endif
%else
%define rpmrel 2
%define rpmrel 3
%endif
# fakerel and fakever never change, they are used to fool
@ -1044,7 +1044,7 @@ Obsoletes: cpufreq cpufrequtils
the cpupower tools.
%post -n cpupower
if [ $1 -gt 0 ]; then
if [ $1 -ge 0 ]; then
/bin/systemctl enable cpupower >/dev/null 2>&1 || :
/bin/systemctl start cpupower >/dev/null 2>&1 || :
fi