aur: Update claude-code

This commit is contained in:
2025-10-30 18:52:04 +01:00
parent 7c6c8f8bff
commit 55ab0d203b
2 changed files with 4 additions and 1 deletions

View File

@@ -14,6 +14,9 @@
set -o nounset set -o nounset
set -o pipefail set -o pipefail
# Prevent failures when not battery present
shopt -s nullglob
for battery in /sys/class/power_supply/*/capacity ; do for battery in /sys/class/power_supply/*/capacity ; do
capacity="$(< "$battery")" capacity="$(< "$battery")"
if (( "${capacity}" < 40 )) ; then if (( "${capacity}" < 40 )) ; then