Bash3lper/scripts/bashelper_apt-upgrade.sh
2023-03-29 20:10:53 +02:00

18 lines
547 B
Bash
Executable file

#!/usr/bin/env bash
source header
scripts/bashelper_apt-update.sh
apt-upgrade32 (){
write_header
write_header " APT - UPGRADE "
echo -e "${RED} APT upgrade ${NOC} \n"
echo -e "--> apt list --upgradable && apt upgrade && apt dist-upgrade && apt full-upgrade && apt-get autoclean && apt-get clean && apt-get autoremove \n"
apt list --upgradable && apt upgrade && apt dist-upgrade && apt full-upgrade && apt-get autoclean && apt-get clean && apt-get autoremove
echo -e "${ORANGE} APT GET ${GREEN}OK ${NOC} \n"
pause
}
apt-upgrade32