The Hidden Blog

As it turns out, I do have a hostname.

Push(over) notifications for Gentoo updates

Published on Dec 06, 2014

This shell script will send you a push notification if there are new Gentoo updates available. It's based on ftf's Ruby script for Prowl.

{{< gist dewey 902a0da58f85feca974a >}}

Application Token

To get the Application token just create a new application on the Pushover website: https://pushover.net/apps/build.

User Token

The "User Key" is displayed on your user profile.

Cronjob

Add this cronjob and make sure the user has permissions to run the emerge command:

0 20 * * * /bin/zsh /root/tools/updatecheck.sh >/dev/null 2>&1

Boom!

That's all!