if [ "$testroot" != "root" ]; then
echo "Must be root"
apt-get update && apt-get dist-upgrade -y && apt-get install -f && apt-get autoremove -y && apt-get autoclean -y
Pavroo your code is very good. And the upgrade tool is also good. But when I run the UP script in Sparkylinux JWM "Run Command" I tick run in terminal and run as root and I get to see the upgrade process is small x-terminal and it automatically closes but I get to see the process that's going on.
On the other hand if I use upgrade app it doesn't show the progress.
Previously I used to do this...
Step1: sudo apt-get update && time sudo apt-get dist-upgrade
Step2: Use sparky-aptus and do all except what is in first tab.
So if there are any problems with upgrade, sparky-aptus would fix it.
And then I started using your script, the UP file and it was perfect.
Now the Sparky-upgrade, what does it do? No progress window. Is it just upgrade or dist-upgrade?
Is using Sparky-upgrade same as using UP script?
I have one small question.
If I install Sparkylinux any version once and if I do dist-upgrade once, will every upgrade command thereafter be same as simple upgrade command?