Compare commits

...

4 commits

Author SHA1 Message Date
Tobias Powalowski
ae9b95efab add spaces 2024-09-12 21:03:07 +02:00
Tobias Powalowski
aa531cca69 better aaray using 2024-09-12 21:00:42 +02:00
Tobias Powalowski
a665722bad add space 2024-09-12 20:58:21 +02:00
Tobias Powalowski
bbdd6f9b1a correct xz license 2024-09-12 20:34:36 +02:00
2 changed files with 141 additions and 139 deletions

View file

@ -86,7 +86,7 @@ pacman --noconfirm -Rdd base gettext &>>"${_LOG}"
_run_test "licenses"
#shellcheck disable=SC2046
for i in $(pacman -Ql $(pacman -Q | sd ' .*' '') | rg -o '/usr/share/licenses/.*'); do
[[ -e "${i}" ]] || echo "${i}" | rg -v '/xz/' >>license-error.log
[[ -e "${i}" ]] || echo "${i}" >> license-error.log
done
_result license-error.log
_run_test "filesystems"

View file

@ -135,16 +135,18 @@ util-linux/COPYING.ISC
util-linux/util-linux-BSD-2-Clause.txt
wireless-regdb/LICENSE
xxhash/LICENSE
xz/COPYING
zlib/LICENSE
zoxide/LICENSE
zstd/LICENSE)
zstd/LICENSE
)
if [[ "${_RUNNING_ARCH}" == "x86_64" ]]; then
_LICENSES+=(broadcom-wl/LICENSE)
fi
#shellcheck disable=SC2068
for i in ${_LICENSES[@]};do
_file /usr/share/licenses/"${i}"
done
if [[ "${_RUNNING_ARCH}" == "x86_64" ]]; then
_file /usr/share/licenses/broadcom-wl/LICENSE
fi
_map _full_dir /usr/share/licenses/{spdx,linux-firmware}
}