apt/target

This commit is contained in:
Marc Beninca 2024-11-19 10:41:16 +01:00
parent 67510c2dee
commit 1a1679031e
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -23,14 +23,14 @@ Dpkg::Progress True;
}
apt_install_backports() {
apt_install_target "${DEBIAN_CODENAME}-backports" "${@}"
sh_apt_install_target "${DEBIAN_CODENAME}-backports" "${@}"
}
apt_install_release() {
apt_install_target "${DEBIAN_CODENAME}" "${@}"
sh_apt_install_target "${DEBIAN_CODENAME}" "${@}"
}
apt_install_target() {
sh_apt_install_target() {
local target="${1}"
shift
local package