apt_upgrade
This commit is contained in:
parent
e139ac7758
commit
cc7e1cafb4
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
||||||
apt_clean() {
|
apt_clean() {
|
||||||
apt-get clean
|
apt-get \
|
||||||
|
clean
|
||||||
|
}
|
||||||
|
|
||||||
|
apt_upgrade() {
|
||||||
|
apt-get \
|
||||||
|
upgrade \
|
||||||
|
--assume-yes
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,7 +72,7 @@ rescue_install() {
|
||||||
# disable frontend
|
# disable frontend
|
||||||
debian_disable_frontend
|
debian_disable_frontend
|
||||||
# upgrade packages
|
# upgrade packages
|
||||||
apt-get upgrade --assume-yes
|
apt_upgrade
|
||||||
# clean cache
|
# clean cache
|
||||||
apt_clean
|
apt_clean
|
||||||
# install packages
|
# install packages
|
||||||
|
|
Loading…
Reference in a new issue