diff --git a/usr/bin/archboot-update.sh b/usr/bin/archboot-update.sh index f3514f40d..d88d9e6b8 100755 --- a/usr/bin/archboot-update.sh +++ b/usr/bin/archboot-update.sh @@ -60,6 +60,7 @@ if [[ -n "${_G_RELEASE}" ]]; then clear fi # install custom xorg or wayland +#shellcheck disable=SC2128 if [[ -n "${_CUSTOM_X}" || -n "${_CUSTOM_WAYLAND}" ]]; then _custom_wayland_xorg fi diff --git a/usr/lib/archboot/installer/common.sh b/usr/lib/archboot/installer/common.sh index 97f6ac842..7c905346d 100644 --- a/usr/lib/archboot/installer/common.sh +++ b/usr/lib/archboot/installer/common.sh @@ -42,9 +42,11 @@ _linux_firmware() { _marvell_firmware() { _MARVELL=() for i in $(fd -t f . /lib/modules/"${_RUNNING_KERNEL}" | rg -w 'wireless/marvell'); do + #shellcheck disable=SC2207 _MARVELL+=($(basename "${i}" | sd '.ko.*$' '')) done # check marvell modules if already loaded + #shellcheck disable=SC2068 for i in ${_MARVELL[@]}; do if lsmod | rg -qw "${i}"; then _PACKAGES+=(linux-firmware-marvell) diff --git a/usr/lib/archboot/update/desktop.sh b/usr/lib/archboot/update/desktop.sh index ba8d54f34..deb1cab1b 100644 --- a/usr/lib/archboot/update/desktop.sh +++ b/usr/lib/archboot/update/desktop.sh @@ -35,7 +35,8 @@ _run_pacman() { } _update_packages() { -_IGNORE=() + _IGNORE=() + #shellcheck disable=SC2128 if [[ -n "${_GRAPHIC_IGNORE}" ]]; then #shellcheck disable=SC2068 for i in ${_GRAPHIC_IGNORE[@]}; do