move touch before funciton

This commit is contained in:
Tobias Powalowski 2023-08-04 09:21:15 +02:00
parent 86b2294b98
commit c31fbdc0f3

View file

@ -40,6 +40,7 @@ _prepare_graphic() {
if grep -q qxl /proc/modules; then
echo "${_GRAPHIC}" | grep -q xorg && _GRAPHIC="${_GRAPHIC} xf86-video-qxl"
fi
touch /.archboot
(for i in ${_GRAPHIC}; do
#shellcheck disable=SC2086
pacman -S ${i} --noconfirm &>"${_LOG}"