Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3f2702eb71
|
||
|
|
9f5c3b1cb4
|
||
|
|
961ddc1e72
|
||
|
|
ae43e401a5
|
@@ -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
@@ -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
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user