aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slack-autoupdate8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/slack-autoupdate b/src/slack-autoupdate
index 86ca9e9..8bb1637 100644
--- 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