#
# Ignores anything in an apt-mark/ file after the last newline.
set -e
+debian_version="bookworm"
-config_tree_prefix="${HOME}/config/bullseye"
+config_tree_prefix="${HOME}/config/${debian_version}"
aptmark_dir="${config_tree_prefix}/apt-mark"
for target in "$@"; do
# "required" or not depended on by packages of priority "required"
# or not listed in the argument-selected files of apt-mark/.
set -e
+debian_version="bookworm"
-config_tree_prefix="${HOME}/config/bullseye"
+config_tree_prefix="${HOME}/config/${debian_version}"
aptmark_dir="${config_tree_prefix}/apt-mark"
dpkg-query -Wf '${Package} ${Priority}\n' | grep ' required' | sed 's/ required//' > /tmp/list_white_unsorted