Skip to content
Snippets Groups Projects
Commit fd36bf73 authored by Tobias Powalowski's avatar Tobias Powalowski :sunglasses:
Browse files

shellcheck fixes

parent 74efa02b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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)
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment