fix check on network

This commit is contained in:
Tobias Powalowski 2023-07-12 19:04:33 +02:00
parent cb916838b2
commit 89cf17422c

View file

@ -293,7 +293,9 @@ _prepare_graphic() {
pacman -Syu ${_IGNORE} --noconfirm &>/dev/null || exit 1
[[ ! -e "/.full_system" ]] && _cleanup_install
# check for qxl module
grep -q qxl /proc/modules && _GRAPHIC="${_GRAPHIC} xf86-video-qxl"
if grep -q qxl /proc/modules; then
_GRAPHIC="${_GRAPHIC} xf86-video-qxl"
fi
echo "Running pacman to install packages: ${_GRAPHIC}..."
for i in ${_GRAPHIC}; do
#shellcheck disable=SC2086