aboutsummaryrefslogtreecommitdiff
path: root/src/autoupdate
diff options
context:
space:
mode:
Diffstat (limited to 'src/autoupdate')
-rw-r--r--src/autoupdate3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/autoupdate b/src/autoupdate
index d00c818..30315df 100644
--- a/src/autoupdate
+++ b/src/autoupdate
@@ -127,7 +127,6 @@ if ! OUTPUT="$(
/var/lib/slackpkg/ChangeLog.txt \
| head -n 1
)"
- echo $LAST_INSTALLED_PACKAGE
echo "Slackware updates"
echo
@@ -149,6 +148,8 @@ if ! OUTPUT="$(
exit 0
fi
+ source /etc/profile.d/*.sh
+
PACKAGE_UPDATES=$(mktemp /tmp/slack-autoupdate.XXXXXX)
trap "rm -f ${PACKAGE_UPDATES}" EXIT