From 45be5b9a89cdca8b8925d3646d9437b7f9e13c94 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Tue, 6 May 2025 00:33:13 +0200 Subject: [PATCH] Fix. --- bookworm/scripts/lib/ensure_packages_of_tags | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bookworm/scripts/lib/ensure_packages_of_tags b/bookworm/scripts/lib/ensure_packages_of_tags index a03f4e6..3c198f8 100644 --- a/bookworm/scripts/lib/ensure_packages_of_tags +++ b/bookworm/scripts/lib/ensure_packages_of_tags @@ -13,7 +13,7 @@ for _TAG in $@; do printf 'checking if installed … ' if dpkg-query -Wf '${Package}\n' | grep '^'"${_PACKAGE}"'$' > /dev/null; then echo 'yup, keeping!' - ${_INSTALL_CMD} ${_PACKAGE} + apt_get_digested '-q -q -o "Dpkg::Options::=--force-confnew" install' "${_PACKAGE}" else echo 'nope, nothing to keep.' fi @@ -29,7 +29,7 @@ for _TAG in $@; do echo 'nothing to install.' else echo "ensuring installation of: ${_PACKAGES}" - ${_INSTALL_CMD} ${_PACKAGES} + apt_get_digested '-q -q -o "Dpkg::Options::=--force-confnew" install' "${_PACKAGES}" fi done prefixed_msg 'finished' -- 2.30.2