mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-15 22:21:45 +00:00
fix: incorrect tuned-ppd config existence check in bazzite-hardware-setup (#1948)
This commit is contained in:
parent
ef30327899
commit
722c65876c
@ -265,7 +265,7 @@ fi
|
||||
|
||||
# PPD FIX
|
||||
# Correct broken config files on some systems
|
||||
if -f "/etc/tuned/ppd.conf" && ! grep "\[battery\]" "/etc/tuned/ppd.conf"; then
|
||||
if [[ -f "/etc/tuned/ppd.conf" ]] && ! grep "\[battery\]" "/etc/tuned/ppd.conf"; then
|
||||
cp -f "/usr/etc/tuned/ppd.conf" "/etc/tuned/ppd.conf"
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user