From d3e6a9790f077daf6503baf1d51ec9f8bc6d603a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 24 Mar 2017 22:49:19 -0300 Subject: Provision: desktop-basic: check for /etc/modprobe.d/qxl-no-kms.conf --- share/provision/desktop-basic | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'share/provision/desktop-basic') diff --git a/share/provision/desktop-basic b/share/provision/desktop-basic index d87aff0..21ee3a1 100755 --- a/share/provision/desktop-basic +++ b/share/provision/desktop-basic @@ -32,8 +32,10 @@ $DIRNAME/development $HOSTNAME $DOMAIN $MIRROR # QLX # See https://labs.riseup.net/code/issues/11518 # https://bugs.mageia.org/show_bug.cgi?id=14607 -echo 'options qxl modeset=0' | sudo tee /etc/modprobe.d/qxl-no-kms.conf -sudo update-initramfs -v -u +if [ ! -e "/etc/modprobe.d/qxl-no-kms.conf" ]; then + echo 'options qxl modeset=0' | sudo tee /etc/modprobe.d/qxl-no-kms.conf + sudo update-initramfs -v -u +fi # Ensure we are in the user home folder cd -- cgit v1.2.3