From: Christian Heller Date: Tue, 1 Aug 2023 03:00:46 +0000 (+0200) Subject: More version confusion fixes. X-Git-Url: https://plomlompom.com/repos/day?a=commitdiff_plain;h=77797aa2557fd714a89c8dd320114ca84ce27d11;p=config More version confusion fixes. --- diff --git a/bookworm/setup_scripts/install_for_target.sh b/bookworm/setup_scripts/install_for_target.sh index 6f42b56..1fac9d9 100755 --- a/bookworm/setup_scripts/install_for_target.sh +++ b/bookworm/setup_scripts/install_for_target.sh @@ -4,8 +4,9 @@ # # 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 diff --git a/bookworm/setup_scripts/purge_nonrequireds.sh b/bookworm/setup_scripts/purge_nonrequireds.sh index 135196b..216779d 100755 --- a/bookworm/setup_scripts/purge_nonrequireds.sh +++ b/bookworm/setup_scripts/purge_nonrequireds.sh @@ -3,8 +3,9 @@ # "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