aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/provision/desktop-basic6
1 files changed, 4 insertions, 2 deletions
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