From bb08d4c5da497b4db17a694f85a72a2ebcebaf90 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 19 Nov 2024 10:46:30 +0100 Subject: [PATCH] apt/backports --- 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 64a2751..39639b9 100644 --- a/sh/debian.sh +++ b/sh/debian.sh @@ -22,7 +22,7 @@ Dpkg::Progress True; " >"/etc/apt/apt.conf.d/apt.conf" } -apt_install_backports() { +sh_apt_install_backports() { sh_apt_install_target "${DEBIAN_CODENAME}-backports" "${@}" } diff --git a/sh/rescue/common.sh b/sh/rescue/common.sh index de35c83..b108681 100644 --- a/sh/rescue/common.sh +++ b/sh/rescue/common.sh @@ -21,7 +21,7 @@ fr_FR.UTF-8 UTF-8 # disable frontend sh_debian_frontend_disable # install backports - apt_install_backports "tmux" + sh_apt_install_backports "tmux" # install packages sh_apt_install_release "apt-file" "mosh" "screen" "byobu" # update catalog @@ -45,7 +45,7 @@ rescue_install() { "exa" "lf" "ncdu" "nnn" "ranger" "tree" \ "file" "htop" "iotop" "ipcalc" "libdigest-sha3-perl" "lsof" # install backports - apt_install_backports \ + sh_apt_install_backports \ "grub-pc-bin" \ \ "grub-efi-amd64-bin"