apt_update
This commit is contained in:
parent
cc7e1cafb4
commit
7c8f2d8f49
2 changed files with 8 additions and 3 deletions
|
@ -3,6 +3,11 @@ apt_clean() {
|
||||||
clean
|
clean
|
||||||
}
|
}
|
||||||
|
|
||||||
|
apt_update() {
|
||||||
|
apt-get \
|
||||||
|
update
|
||||||
|
}
|
||||||
|
|
||||||
apt_upgrade() {
|
apt_upgrade() {
|
||||||
apt-get \
|
apt-get \
|
||||||
upgrade \
|
upgrade \
|
||||||
|
|
|
@ -38,7 +38,7 @@ fr_FR.UTF-8 UTF-8
|
||||||
# generate locales
|
# generate locales
|
||||||
locale-gen
|
locale-gen
|
||||||
# update catalog
|
# update catalog
|
||||||
apt-get update
|
apt_update
|
||||||
# disable frontend
|
# disable frontend
|
||||||
debian_disable_frontend
|
debian_disable_frontend
|
||||||
# install backports
|
# install backports
|
||||||
|
@ -61,14 +61,14 @@ fr_FR.UTF-8 UTF-8
|
||||||
apt_clean
|
apt_clean
|
||||||
done
|
done
|
||||||
# update catalog
|
# update catalog
|
||||||
apt-get update
|
apt_update
|
||||||
}
|
}
|
||||||
|
|
||||||
rescue_install() {
|
rescue_install() {
|
||||||
local package
|
local package
|
||||||
local release="bookworm"
|
local release="bookworm"
|
||||||
# update catalog
|
# update catalog
|
||||||
apt-get update
|
apt_update
|
||||||
# disable frontend
|
# disable frontend
|
||||||
debian_disable_frontend
|
debian_disable_frontend
|
||||||
# upgrade packages
|
# upgrade packages
|
||||||
|
|
Loading…
Reference in a new issue