slack-autoupdate

Update your Slackware system automatically
Log | Files | Refs | README

commit f160fa72037c938a8fc125f5f9215508b8f6401d
parent 38a9350fb521828fb9638ea29ac68d5c1c2bc74c
Author: Slack Coder <slackcoder@server.ky>
Date:   Mon, 25 Mar 2024 17:33:42 -0500

Fix notification

Use the correct filepath for update notifications.

Diffstat:
Msrc/slack-autoupdate | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/slack-autoupdate b/src/slack-autoupdate @@ -204,14 +204,14 @@ if [ -z "$(find "$PACKAGE_DIR" -name "*.t*z" -or -name "info.txt" -or -name "err fi if [ "$NOTIFY" = "yes" ]; then - if [ -f "$UPDATE_ERROR" ]; then + if [ -f "/var/spool/slack-autoupdate/error.txt" ]; then echo "Failures were encountered while trying to download updates" echo "" - cat "$UPDATE_ERROR" - elif [ -f "$UPDATE_INFO" ]; then + cat "/var/spool/slack-autoupdate/error.txt" + elif [ -f "/var/spool/slack-autoupdate/info.txt" ]; then echo "Updates pending installation" echo "" - cat "$UPDATE_INFO" + cat "/var/spool/slack-autoupdate/info.txt" fi fi