Latest
This commit is contained in:
parent
f11d62c419
commit
527c705b2c
1 changed files with 0 additions and 7 deletions
|
@ -42,11 +42,4 @@ if [ -d /Applications ] && [ -d /System ]; then
|
||||||
if command -v m > /dev/null; then
|
if command -v m > /dev/null; then
|
||||||
logg info 'Emptying trash' && m trash clean
|
logg info 'Emptying trash' && m trash clean
|
||||||
fi
|
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
|
fi
|
||||||
|
|
Loading…
Reference in a new issue