From 1ad055dfb48557aedb6c4664b85801d8917096c1 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 19 Nov 2024 10:45:49 +0100 Subject: [PATCH] apt/release --- sh/debian.sh | 2 +- sh/rescue/common.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sh/debian.sh b/sh/debian.sh index 8d00ac9..64a2751 100644 --- a/sh/debian.sh +++ b/sh/debian.sh @@ -26,7 +26,7 @@ apt_install_backports() { sh_apt_install_target "${DEBIAN_CODENAME}-backports" "${@}" } -apt_install_release() { +sh_apt_install_release() { sh_apt_install_target "${DEBIAN_CODENAME}" "${@}" } diff --git a/sh/rescue/common.sh b/sh/rescue/common.sh index 3f026e7..de35c83 100644 --- a/sh/rescue/common.sh +++ b/sh/rescue/common.sh @@ -23,7 +23,7 @@ fr_FR.UTF-8 UTF-8 # install backports apt_install_backports "tmux" # install packages - apt_install_release "apt-file" "mosh" "screen" "byobu" + sh_apt_install_release "apt-file" "mosh" "screen" "byobu" # update catalog sh_apt_update } @@ -36,7 +36,7 @@ rescue_install() { # upgrade packages sh_apt_upgrade # install packages - apt_install_release \ + sh_apt_install_release \ "man-db" \ "dmidecode" "efibootmgr" "lshw" "pciutils" "usbutils" \ "parted" "mdadm" "cryptsetup-bin" "lvm2" \