aboutsummaryrefslogtreecommitdiffsponsor
diff options
context:
space:
mode:
-rw-r--r--src/slack-autoupdate8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/slack-autoupdate b/src/slack-autoupdate
index af6a902..a76f1da 100644
--- 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