Auto apt update; apt upgrade -y.

apollo b226dab971 Fixed premature exit when autoremove detected 3 ngày trước cách đây
.gitignore fd2286ecba AptGrade 2 tuần trước cách đây
README.md fd2286ecba AptGrade 2 tuần trước cách đây
aptgrade.go b226dab971 Fixed premature exit when autoremove detected 3 ngày trước cách đây
go.mod fd2286ecba AptGrade 2 tuần trước cách đây
install.sh 1790f844e6 Updated: Check euid, use full path to apt. 4 ngày trước cách đây

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.