This commit is contained in:
Brian Zalewski 2023-12-25 04:49:27 +00:00
parent f11d62c419
commit 527c705b2c

View file

@ -42,11 +42,4 @@ if [ -d /Applications ] && [ -d /System ]; then
if command -v m > /dev/null; then
logg info 'Emptying trash' && m trash clean
fi
logg info 'Checking if there is a pending update'
defaults read /Library/Updates/index.plist InstallAtLogout || EXIT_CODE=$?
if [ -n "$EXIT_CODE" ]; then
logg info 'No pending update discovered by checking /Library/Updates/index.plist'
fi
elif [ -f /var/run/reboot-required ]; then
logg info '/var/run/reboot-required is present so a reboot is required'
fi