apt_upgrade

This commit is contained in:
Marc Beninca 2024-11-11 20:40:56 +01:00
parent e139ac7758
commit cc7e1cafb4
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
apt_clean() {
apt-get clean
apt-get \
clean
}
apt_upgrade() {
apt-get \
upgrade \
--assume-yes
}

View file

@ -72,7 +72,7 @@ rescue_install() {
# disable frontend
debian_disable_frontend
# upgrade packages
apt-get upgrade --assume-yes
apt_upgrade
# clean cache
apt_clean
# install packages