From 10162404836a8b2b152fb23ca406404ae04d35f4 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 19 Nov 2024 10:33:56 +0100 Subject: [PATCH] apt/update --- sh/debian.sh | 2 +- sh/rescue/common.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sh/debian.sh b/sh/debian.sh index 4485be6..7cc17e1 100644 --- a/sh/debian.sh +++ b/sh/debian.sh @@ -59,7 +59,7 @@ ${DEBIAN_CODENAME}-security main non-free-firmware contrib non-free " >"/etc/apt/sources.list" } -apt_update() { +sh_apt_update() { apt-get \ update } diff --git a/sh/rescue/common.sh b/sh/rescue/common.sh index a9a08d7..200f839 100644 --- a/sh/rescue/common.sh +++ b/sh/rescue/common.sh @@ -17,7 +17,7 @@ fr_FR.UTF-8 UTF-8 # generate locales locale-gen # update catalog - apt_update + sh_apt_update # disable frontend sh_debian_frontend_disable # install backports @@ -25,12 +25,12 @@ fr_FR.UTF-8 UTF-8 # install packages apt_install_release "apt-file" "mosh" "screen" "byobu" # update catalog - apt_update + sh_apt_update } rescue_install() { # update catalog - apt_update + sh_apt_update # disable frontend sh_debian_frontend_disable # upgrade packages