Auto apt update; apt upgrade -y.

apollo 7f7e7040d6 Moved error handling, Autoremoval 2 mesiacov pred
.gitignore fd2286ecba AptGrade 2 mesiacov pred
README.md fd2286ecba AptGrade 2 mesiacov pred
aptgrade.go 7f7e7040d6 Moved error handling, Autoremoval 2 mesiacov pred
go.mod fd2286ecba AptGrade 2 mesiacov pred
install.sh 1790f844e6 Updated: Check euid, use full path to apt. 2 mesiacov pred

README.md

AptGrade

sudo apt update
sudo apt upgrade -y

Now all in one command, ready to be SUID.

Installing

First, update install.sh, unless your username just happens to also be thor.

go build sudo ./install.sh

OK! You now have an aptgrade binary that runs as root. It calls the above commands.