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_clean() {
|
||||||
apt-get clean
|
apt-get clean
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,7 +49,7 @@ fr_FR.UTF-8 UTF-8
|
||||||
apt-get install --assume-yes \
|
apt-get install --assume-yes \
|
||||||
--target-release "${release}-backports" \
|
--target-release "${release}-backports" \
|
||||||
"${package}"
|
"${package}"
|
||||||
apt_clean_cache
|
apt_clean
|
||||||
done
|
done
|
||||||
# install packages
|
# install packages
|
||||||
set "apt-file" "mosh" "screen" "byobu"
|
set "apt-file" "mosh" "screen" "byobu"
|
||||||
|
@ -58,7 +58,7 @@ fr_FR.UTF-8 UTF-8
|
||||||
echo "${package}"
|
echo "${package}"
|
||||||
apt-get install --assume-yes \
|
apt-get install --assume-yes \
|
||||||
"${package}"
|
"${package}"
|
||||||
apt_clean_cache
|
apt_clean
|
||||||
done
|
done
|
||||||
# update catalog
|
# update catalog
|
||||||
apt-get update
|
apt-get update
|
||||||
|
@ -74,7 +74,7 @@ rescue_install() {
|
||||||
# upgrade packages
|
# upgrade packages
|
||||||
apt-get upgrade --assume-yes
|
apt-get upgrade --assume-yes
|
||||||
# clean cache
|
# clean cache
|
||||||
apt_clean_cache
|
apt_clean
|
||||||
# install packages
|
# install packages
|
||||||
set \
|
set \
|
||||||
"man-db" \
|
"man-db" \
|
||||||
|
@ -89,7 +89,7 @@ rescue_install() {
|
||||||
echo "${package}"
|
echo "${package}"
|
||||||
apt-get install --assume-yes \
|
apt-get install --assume-yes \
|
||||||
"${package}"
|
"${package}"
|
||||||
apt_clean_cache
|
apt_clean
|
||||||
done
|
done
|
||||||
# install backports
|
# install backports
|
||||||
set \
|
set \
|
||||||
|
@ -102,7 +102,7 @@ rescue_install() {
|
||||||
apt-get install --assume-yes \
|
apt-get install --assume-yes \
|
||||||
--target-release "${release}-backports" \
|
--target-release "${release}-backports" \
|
||||||
"${package}"
|
"${package}"
|
||||||
apt_clean_cache
|
apt_clean
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue