mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
better qxl check
This commit is contained in:
parent
02b51a027f
commit
9f7db9ccc6
1 changed files with 1 additions and 3 deletions
|
@ -293,9 +293,7 @@ _prepare_graphic() {
|
|||
pacman -Syu ${_IGNORE} --noconfirm &>/dev/null || exit 1
|
||||
[[ ! -e "/.full_system" ]] && _cleanup_install
|
||||
# check for qxl module
|
||||
if grep -q qxl /proc/modules; then
|
||||
_GRAPHIC="${_GRAPHIC} xf86-video-qxl"
|
||||
fi
|
||||
grep -q qxl /proc/modules && grep -q xorg ${_GRAPHIC} && _GRAPHIC="${_GRAPHIC} xf86-video-qxl"
|
||||
echo "Running pacman to install packages: ${_GRAPHIC}..."
|
||||
for i in ${_GRAPHIC}; do
|
||||
#shellcheck disable=SC2086
|
||||
|
|
Loading…
Reference in a new issue