Auto apt update; apt upgrade -y.

Steve Thielemann 1790f844e6 Updated: Check euid, use full path to apt. преди 4 дни
.gitignore fd2286ecba AptGrade преди 2 седмици
README.md fd2286ecba AptGrade преди 2 седмици
aptgrade.go 1790f844e6 Updated: Check euid, use full path to apt. преди 4 дни
go.mod fd2286ecba AptGrade преди 2 седмици
install.sh 1790f844e6 Updated: Check euid, use full path to apt. преди 4 дни

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.