#!/bin/bash # if not root, run as root if (( $EUID != 0 )); then sudo $HOME/lxutils/updatesystem.sh exit fi apt update apt list --upgradeable read -p "Press any key to continue... " -n1 -s apt upgrade -y #apt-get -y dist-upgrade apt clean apt autoremove -y clear echo "Update/Upgrade is now complete!"