mirror of
https://abf.rosa.ru/djam/kernel-5.15.git
synced 2025-02-23 18:42: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}
|
||||
%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
|
||||
|
|
Loading…
Add table
Reference in a new issue