fix: paths, laptop check
This commit is contained in:
parent
ab9a661dcc
commit
c9e81f814b
3 changed files with 4 additions and 3 deletions
2
base.sh
2
base.sh
|
|
@ -26,7 +26,7 @@ systemctl enable \
|
|||
reflector.timer \
|
||||
systemd-timesyncd
|
||||
|
||||
if [ -d /sys/module/battery/ ]; then
|
||||
if ls -d /sys/class/power_supply/BAT*/ > /dev/null 2>&1; then
|
||||
$PACMAN "${laptop_pkg[@]}"
|
||||
systemctl enable tlp
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue