Simple shows a popup if new Slackware system patches or updates found.

It reading /etc/slackpkg/mirrors and fetch updates from the same
repository`s url that your slackpkg use.

Use kdialog if its installed elif zenity (sbo) else  notify-send to popup.

After installation finish add to /etc/rc.d/rc.local

# Slackpkg update notify
if [ -x /usr/bin/slk-changelog-check ]; then
logger -t rc.local "starting slk-changelog-check"
echo "starting slk-changelog-check"
sleep 120 && /usr/bin/slk-changelog-check &
fi

create if not exist a /etc/rc.d/rc.local_shutdown
copy paste in:

#!/bin/bash
#
# Remove slk-notify lock file from /tmp
if [ -f /tmp/slk-notify.lock ]; then
    rm -f /tmp/slk-notify.lock
fi

chmod +x /etc/rc.d/rc.local_shutdown

Optional: run every 6 hours via cron

By default `slk-changelog-check` runs once at boot from `rc.local`.
If you want it to also check every 6 hours, add a cron job as root:


# su -
# crontab -e


Add this line:


0 */6 * * * /usr/bin/slk-changelog-check


Save and exit. Verify it was added:

crontab -l


You can watch behavior from `/var/log/messages` something like this:

cat /var/log/messages | grep slk

For bugs,suggestions please open issue in github repo or a PR.
