Compare commits

..
2 Commits
Author SHA1 Message Date
Daniele Fucini 961ddc1e72 Fix state dir name 2026-10-03 20:04:47 +02:00
Daniele Fucini ae43e401a5 Update checksum 2026-10-03 20:02:07 +02:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
# Maintainer: Daniele Fucini <dfucini [at] gmail [dot] com> # Maintainer: Daniele Fucini <dfucini [at] gmail [dot] com>
pkgname=update-notify pkgname=update-notify
pkgver=2.0 pkgver=3.0
pkgrel=1 pkgrel=1
pkgdesc='Notify when updates are available' pkgdesc='Notify when updates are available'
arch=('any') arch=('any')
@@ -15,7 +15,7 @@ makedepends=('git')
optdepends=('git-monitor: to check git repos for updates') optdepends=('git-monitor: to check git repos for updates')
source=(git+${url}?signed#tag=${pkgver}) source=(git+${url}?signed#tag=${pkgver})
validpgpkeys=('7E12BC1FF3B6EDB2CD8053EB981A2B2A3BBF5514') validpgpkeys=('7E12BC1FF3B6EDB2CD8053EB981A2B2A3BBF5514')
sha256sums=('e96dbcc2b77750be03d89cdf3e1351c20c9079b7de1e129da0188dd3b30f6a03') sha256sums=('47f8d1aac3ef6cdb19b4f72c5b3d5cf45433810fbd166038525336c1e3cf83fc')
package() package()
{ {
Regular → Executable
+1 -1
View File
@@ -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"