apt/update
This commit is contained in:
parent
b02b2d183f
commit
1016240483
2 changed files with 4 additions and 4 deletions
|
@ -59,7 +59,7 @@ ${DEBIAN_CODENAME}-security main non-free-firmware contrib non-free
|
||||||
" >"/etc/apt/sources.list"
|
" >"/etc/apt/sources.list"
|
||||||
}
|
}
|
||||||
|
|
||||||
apt_update() {
|
sh_apt_update() {
|
||||||
apt-get \
|
apt-get \
|
||||||
update
|
update
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@ fr_FR.UTF-8 UTF-8
|
||||||
# generate locales
|
# generate locales
|
||||||
locale-gen
|
locale-gen
|
||||||
# update catalog
|
# update catalog
|
||||||
apt_update
|
sh_apt_update
|
||||||
# disable frontend
|
# disable frontend
|
||||||
sh_debian_frontend_disable
|
sh_debian_frontend_disable
|
||||||
# install backports
|
# install backports
|
||||||
|
@ -25,12 +25,12 @@ fr_FR.UTF-8 UTF-8
|
||||||
# install packages
|
# install packages
|
||||||
apt_install_release "apt-file" "mosh" "screen" "byobu"
|
apt_install_release "apt-file" "mosh" "screen" "byobu"
|
||||||
# update catalog
|
# update catalog
|
||||||
apt_update
|
sh_apt_update
|
||||||
}
|
}
|
||||||
|
|
||||||
rescue_install() {
|
rescue_install() {
|
||||||
# update catalog
|
# update catalog
|
||||||
apt_update
|
sh_apt_update
|
||||||
# disable frontend
|
# disable frontend
|
||||||
sh_debian_frontend_disable
|
sh_debian_frontend_disable
|
||||||
# upgrade packages
|
# upgrade packages
|
||||||
|
|
Loading…
Reference in a new issue