Auto apt update; apt upgrade -y.

Steve Thielemann 448a851af1 Added help when err != nil. vor 2 Wochen
.gitignore fd2286ecba AptGrade vor 2 Wochen
README.md fd2286ecba AptGrade vor 2 Wochen
aptgrade.go 448a851af1 Added help when err != nil. vor 2 Wochen
go.mod fd2286ecba AptGrade vor 2 Wochen
install.sh 448a851af1 Added help when err != nil. vor 2 Wochen

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.