瀏覽代碼

updating setup.sh script

Jake Day 6 年之前
父節點
當前提交
7d080b10ad
共有 1 個文件被更改,包括 9 次插入0 次删除
  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