Compare commits

...
4 Commits
Author SHA1 Message Date
Daniele Fucini 3f2702eb71 Change timer frequency 2026-10-03 21:24:57 +02:00
Daniele Fucini 9f5c3b1cb4 Update PKGBUILD 2026-10-03 20:07:10 +02:00
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
3 changed files with 4 additions and 4 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.1
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=('855659513d4a95be03c2fdc192c57b999a4d00eb2500282bd550285c2882b220')
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"
+1 -1
View File
@@ -3,7 +3,7 @@ Description=Run update-notify every 6 hours
[Timer] [Timer]
OnBootSec=5min OnBootSec=5min
OnUnitActiveSec=12h OnUnitActiveSec=6h
Persistent=true Persistent=true
[Install] [Install]