mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 14:36: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=()
|
local -a to_be_dropped=()
|
||||||
for file in "${NEW_PORTAGE_STABLE}/licenses/"*; do
|
for file in "${NEW_PORTAGE_STABLE}/licenses/"*; do
|
||||||
basename_out "${file}" dul_license
|
basename_out "${file}" dul_license
|
||||||
if [[ -z ${used_licenses_set_ref["${license}"]:-} ]]; then
|
if [[ -z ${used_licenses_set_ref["${dul_license}"]:-} ]]; then
|
||||||
to_be_dropped+=( "${license}" )
|
to_be_dropped+=( "${dul_license}" )
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user