From aa531cca69bb46feed9e916cb98f543d4cfe6d1e Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Thu, 12 Sep 2024 21:00:42 +0200 Subject: [PATCH] better aaray using --- usr/lib/archboot/cpio/hooks/licenses | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/usr/lib/archboot/cpio/hooks/licenses b/usr/lib/archboot/cpio/hooks/licenses index 28863e068..8b1a05095 100644 --- a/usr/lib/archboot/cpio/hooks/licenses +++ b/usr/lib/archboot/cpio/hooks/licenses @@ -139,13 +139,13 @@ xz/COPYING zlib/LICENSE zoxide/LICENSE zstd/LICENSE) -#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 + _LICENSES+=(broadcom-wl/LICENSE) fi + #shellcheck disable=SC2068 + for i in ${_LICENSES[@]};do + _file /usr/share/licenses/"${i}" + done _map _full_dir /usr/share/licenses/{spdx,linux-firmware} }