diff --git a/bash/apt.sh b/bash/apt.sh index 36bd5d6..ce43f1a 100644 --- a/bash/apt.sh +++ b/bash/apt.sh @@ -1,3 +1,10 @@ apt_clean() { - apt-get clean + apt-get \ + clean +} + +apt_upgrade() { + apt-get \ + upgrade \ + --assume-yes } diff --git a/bash/rescue.sh b/bash/rescue.sh index 05ecac8..34f1881 100644 --- a/bash/rescue.sh +++ b/bash/rescue.sh @@ -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