19 lines
334 B
Bash
19 lines
334 B
Bash
function unsafeUpdate() {
|
|
|
|
# Additional updates that require 'user'.
|
|
true
|
|
}
|
|
|
|
|
|
function unsafeUpdateRoot() {
|
|
# Handle system updates.
|
|
apt-get update
|
|
apt-get -fy upgrade
|
|
apt-get -fy dist-upgrade
|
|
apt-get -fy autoremove
|
|
if [[ -f /var/run/reboot-required ]] then
|
|
shutdown -r now
|
|
fi
|
|
|
|
# Additional updates that require root.
|
|
}
|