Explorar el Código

updating setup.sh script

Jake Day hace 6 años
padre
commit
7d080b10ad
Se han modificado 1 ficheros con 9 adiciones y 0 borrados
  1. 9 0
      setup.sh

+ 9 - 0
setup.sh

@@ -61,6 +61,15 @@ else
 	echo "Not touching libwacom"
 fi
 
+read -rp "Do you want to remove the example intel xorg config? (type yes or no) " removexorg;echo
+
+if [ "$removexorg" = "yes" ]; then
+	echo "Removing the example intel xorg config..."
+		rm /etc/X11/xorg.conf.d/20-intel_example.conf
+else
+	echo "Not touching example intel xorg config"
+fi
+
 if [ "$SUR_MODEL" = "Surface Pro 3" ]; then
 	echo "\nInstalling i915 firmware for Surface Pro 3...\n"
 	mkdir -p /lib/firmware/i915