arc: fix syntax

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-06-28 20:23:40 +02:00
parent edd58ac378
commit 8f0943fb82

View File

@ -35,7 +35,7 @@ if ! grep -q "^flags.*acpi.*" /proc/cpuinfo; then
else
ACPISYS="true"
fi
if $(ls -ltr /sys/devices/system/cpu/cpufreq/* 2>/dev/null | wc -l) -gt 0; then
if [ $(ls -ltr /sys/devices/system/cpu/cpufreq/* 2>/dev/null | wc -l) -gt 0 ]; then
CPUFREQ="true"
else
CPUFREQ="false"