apt_update

This commit is contained in:
Marc Beninca 2024-11-11 20:42:37 +01:00
parent cc7e1cafb4
commit 7c8f2d8f49
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 8 additions and 3 deletions

View file

@ -3,6 +3,11 @@ apt_clean() {
clean
}
apt_update() {
apt-get \
update
}
apt_upgrade() {
apt-get \
upgrade \

View file

@ -38,7 +38,7 @@ fr_FR.UTF-8 UTF-8
# generate locales
locale-gen
# update catalog
apt-get update
apt_update
# disable frontend
debian_disable_frontend
# install backports
@ -61,14 +61,14 @@ fr_FR.UTF-8 UTF-8
apt_clean
done
# update catalog
apt-get update
apt_update
}
rescue_install() {
local package
local release="bookworm"
# update catalog
apt-get update
apt_update
# disable frontend
debian_disable_frontend
# upgrade packages