change intervall
This commit is contained in:
4
PKGBUILD
4
PKGBUILD
@@ -1,6 +1,6 @@
|
|||||||
pkgname=update-notifier
|
pkgname=update-notifier
|
||||||
pkgver=1.0.2
|
pkgver=1.0.3
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc="notifies when updates are available via checkupdates"
|
pkgdesc="notifies when updates are available via checkupdates"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
depends=('pacman-contrib')
|
depends=('pacman-contrib')
|
||||||
|
|||||||
@@ -4,5 +4,7 @@
|
|||||||
n=$(checkupdates | wc -l)
|
n=$(checkupdates | wc -l)
|
||||||
if [ "$n" != "0" ]; then
|
if [ "$n" != "0" ]; then
|
||||||
notify-send "System update" "$n updates available."
|
notify-send "System update" "$n updates available."
|
||||||
|
else
|
||||||
|
notify-send "No updates"
|
||||||
fi
|
fi
|
||||||
notify-send "hallo"
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Description=Runs update-notifier periodically
|
|||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnBootSec=5min
|
OnBootSec=5min
|
||||||
OnUnitActiveSec=3h
|
OnUnitActiveSec=10min
|
||||||
Unit=update-notifier.Service
|
Unit=update-notifier.Service
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Reference in New Issue
Block a user