home · contact · privacy
More version confusion fixes.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 1 Aug 2023 03:00:46 +0000 (05:00 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 1 Aug 2023 03:00:46 +0000 (05:00 +0200)
bookworm/setup_scripts/install_for_target.sh
bookworm/setup_scripts/purge_nonrequireds.sh

index 6f42b5619d2a3a17ccff12bf1a13387c777c4cef..1fac9d975c1673ecdd26638d0a8d1f60b64a5583 100755 (executable)
@@ -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
index 135196bfd771be13e8377b9e3bb7a360c646e68e..216779d6af220d60e4e20660cf56edcc4a93736a 100755 (executable)
@@ -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