Fix state dir name

This commit is contained in:
Daniele Fucini
2026-10-03 20:04:47 +02:00
parent ae43e401a5
commit 961ddc1e72
Regular → Executable
+1 -1
View File
@@ -12,7 +12,7 @@ declare -A KERNELS=(
[linux-lts]="linux-lts-custom"
[linux-zen]="linux-zen-custom"
)
state_dir="${XDG_STATE_HOME:-$HOME/.local/state}/check-updates"
state_dir="${XDG_STATE_HOME:-$HOME/.local/state}/update-notify"
[[ $threshold =~ ^[0-9]+$ ]] || { echo "Threshold must be a number" >&2; exit 1; }
mkdir -p "$state_dir"