diff --git a/PKGBUILD b/PKGBUILD index b4ed88d..bb83d8e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ pkgname=update-notifier -pkgver=1.0.2 -pkgrel=3 +pkgver=1.0.3 +pkgrel=4 pkgdesc="notifies when updates are available via checkupdates" arch=('x86_64') depends=('pacman-contrib') diff --git a/update-notifier b/update-notifier index 9deb454..9bca18a 100755 --- a/update-notifier +++ b/update-notifier @@ -4,5 +4,7 @@ n=$(checkupdates | wc -l) if [ "$n" != "0" ]; then notify-send "System update" "$n updates available." +else + notify-send "No updates" fi -notify-send "hallo" + diff --git a/update-notifier.timer b/update-notifier.timer index e061ce5..200faa7 100644 --- a/update-notifier.timer +++ b/update-notifier.timer @@ -3,7 +3,7 @@ Description=Runs update-notifier periodically [Timer] OnBootSec=5min -OnUnitActiveSec=3h +OnUnitActiveSec=10min Unit=update-notifier.Service [Install]