diff --git a/bash/apt.sh b/bash/apt.sh index e83ccc1..36bd5d6 100644 --- a/bash/apt.sh +++ b/bash/apt.sh @@ -1,3 +1,3 @@ -function apt_clean_cache { - apt-get clean +apt_clean() { + apt-get clean } diff --git a/bash/rescue.sh b/bash/rescue.sh index beee576..05ecac8 100644 --- a/bash/rescue.sh +++ b/bash/rescue.sh @@ -49,7 +49,7 @@ fr_FR.UTF-8 UTF-8 apt-get install --assume-yes \ --target-release "${release}-backports" \ "${package}" - apt_clean_cache + apt_clean done # install packages set "apt-file" "mosh" "screen" "byobu" @@ -58,7 +58,7 @@ fr_FR.UTF-8 UTF-8 echo "${package}" apt-get install --assume-yes \ "${package}" - apt_clean_cache + apt_clean done # update catalog apt-get update @@ -74,7 +74,7 @@ rescue_install() { # upgrade packages apt-get upgrade --assume-yes # clean cache - apt_clean_cache + apt_clean # install packages set \ "man-db" \ @@ -89,7 +89,7 @@ rescue_install() { echo "${package}" apt-get install --assume-yes \ "${package}" - apt_clean_cache + apt_clean done # install backports set \ @@ -102,7 +102,7 @@ rescue_install() { apt-get install --assume-yes \ --target-release "${release}-backports" \ "${package}" - apt_clean_cache + apt_clean done }