From 5ecb06772cbb4b396e0143a26c06e05591b7c76a Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Tue, 6 May 2025 02:43:34 +0200 Subject: [PATCH] Fix. --- bookworm/scripts/minimize_installation.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bookworm/scripts/minimize_installation.sh b/bookworm/scripts/minimize_installation.sh index 22af105..78a61bd 100755 --- a/bookworm/scripts/minimize_installation.sh +++ b/bookworm/scripts/minimize_installation.sh @@ -26,11 +26,10 @@ dpkg-query -Wf '${Package} ${Priority}\n' | grep " ${_TOK_REQ}" | cut -d' ' -f1 sort "${_PATH_LIST_UNSORTED}" > "${_PATH_LIST_WHITE}" echo $(cat "${_PATH_LIST_WHITE}") -prefixed_msg_no_nl 'collect installed packages outside this selection: ' +prefixed_msg_no_nl 'collect installed packages outside this selection …' dpkg-query -Wf '${Package}\n' > "${_PATH_LIST_UNSORTED}" sort "${_PATH_LIST_UNSORTED}" > "${_PATH_LIST_ALL_PACKAGES}" comm -3 "${_PATH_LIST_ALL_PACKAGES}" "${_PATH_LIST_WHITE}" > "${_PATH_LIST_BLACK}" -echo $(cat "${_PATH_LIST_BLACK}") prefixed_msg 'apt-mark auto from diff …' apt-mark auto `cat "${_PATH_LIST_BLACK}"` > /dev/null -- 2.30.2