apt_clean
This commit is contained in:
parent
a6180ecd65
commit
e139ac7758
2 changed files with 7 additions and 7 deletions
|
@ -1,3 +1,3 @@
|
|||
function apt_clean_cache {
|
||||
apt-get clean
|
||||
apt_clean() {
|
||||
apt-get clean
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue