Fix state dir name
This commit is contained in:
Regular → Executable
+1
-1
@@ -12,7 +12,7 @@ declare -A KERNELS=(
|
|||||||
[linux-lts]="linux-lts-custom"
|
[linux-lts]="linux-lts-custom"
|
||||||
[linux-zen]="linux-zen-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; }
|
[[ $threshold =~ ^[0-9]+$ ]] || { echo "Threshold must be a number" >&2; exit 1; }
|
||||||
mkdir -p "$state_dir"
|
mkdir -p "$state_dir"
|
||||||
|
|||||||
Reference in New Issue
Block a user