mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 04:56:58 +02:00
fixup! license filtering
This commit is contained in:
parent
83fb85ee81
commit
a7df8f816b
@ -3758,8 +3758,8 @@ function drop_unused_licenses() {
|
||||
local -a to_be_dropped=()
|
||||
for file in "${NEW_PORTAGE_STABLE}/licenses/"*; do
|
||||
basename_out "${file}" dul_license
|
||||
if [[ -z ${used_licenses_set_ref["${license}"]:-} ]]; then
|
||||
to_be_dropped+=( "${license}" )
|
||||
if [[ -z ${used_licenses_set_ref["${dul_license}"]:-} ]]; then
|
||||
to_be_dropped+=( "${dul_license}" )
|
||||
fi
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user