Auto apt update; apt upgrade -y.

Steve Thielemann fd2286ecba AptGrade 1 month ago
.gitignore fd2286ecba AptGrade 1 month ago
README.md fd2286ecba AptGrade 1 month ago
aptgrade.go fd2286ecba AptGrade 1 month ago
go.mod fd2286ecba AptGrade 1 month ago
install.sh fd2286ecba AptGrade 1 month ago

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.