mirror of
https://abf.rosa.ru/djam/kernel-5.15.git
synced 2025-02-24 11:02:55 +00:00
release up, replaced -gt with -ge for cpupower
This commit is contained in:
parent
75432248e6
commit
05f81c7133
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
||||||
%define rpmrel %mkrel 0.%{kpatch}.%{mibrel}
|
%define rpmrel %mkrel 0.%{kpatch}.%{mibrel}
|
||||||
%endif
|
%endif
|
||||||
%else
|
%else
|
||||||
%define rpmrel 2
|
%define rpmrel 3
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# fakerel and fakever never change, they are used to fool
|
# fakerel and fakever never change, they are used to fool
|
||||||
|
@ -1044,7 +1044,7 @@ Obsoletes: cpufreq cpufrequtils
|
||||||
the cpupower tools.
|
the cpupower tools.
|
||||||
|
|
||||||
%post -n cpupower
|
%post -n cpupower
|
||||||
if [ $1 -gt 0 ]; then
|
if [ $1 -ge 0 ]; then
|
||||||
/bin/systemctl enable cpupower >/dev/null 2>&1 || :
|
/bin/systemctl enable cpupower >/dev/null 2>&1 || :
|
||||||
/bin/systemctl start cpupower >/dev/null 2>&1 || :
|
/bin/systemctl start cpupower >/dev/null 2>&1 || :
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue