X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=bookworm%2Fsetup_scripts%2Fpurge_nonrequireds.sh;h=48065fc68bcc0eb417301a6fea1159638e5fa66c;hb=8e3009abbe64ed44da8e9be0a14427c73237cc16;hp=135196bfd771be13e8377b9e3bb7a360c646e68e;hpb=f50c2ff925fb389818dcb23a684acc0275821a36;p=config diff --git a/bookworm/setup_scripts/purge_nonrequireds.sh b/bookworm/setup_scripts/purge_nonrequireds.sh index 135196b..48065fc 100755 --- a/bookworm/setup_scripts/purge_nonrequireds.sh +++ b/bookworm/setup_scripts/purge_nonrequireds.sh @@ -3,9 +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 +. ./misc.sh -config_tree_prefix="${HOME}/config/bullseye" -aptmark_dir="${config_tree_prefix}/apt-mark" +# FIXME packages listed twice in the aptmark_dir get blacklisted? dpkg-query -Wf '${Package} ${Priority}\n' | grep ' required' | sed 's/ required//' > /tmp/list_white_unsorted for target in "$@"; do