slack-autoupdate

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

commit 7f8b00fbffcb89c6168962df797413956d2e62bc
parent 37155fc791f1af0e81255e0f49aff33fa9ff10b1
Author: Slack Coder <slackcoder@server.ky>
Date:   Tue, 26 Mar 2024 08:59:22 -0500

fixup! Fix update notification

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

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