Remove xorg.conf which doesn't contain intel driver.
This commit is contained in:
parent
092418a5c6
commit
612f5e31b0
|
@ -212,7 +212,7 @@ case "$DISTRIB_ID" in
|
|||
esac
|
||||
|
||||
echo "Creating backups of original xorg.conf.* files and replacing with snail's versions..."
|
||||
if [[ ! -f /etc/X11/xorg.conf.nvidia.snail && ! -f /etc/X11/xorg.conf.intel.snail || "`grep \"Driver *\\"nvidia\\"\" /etc/X11/xorg.conf`" != "" ]]; then
|
||||
if [[ ! -f /etc/X11/xorg.conf.nvidia.snail && ! -f /etc/X11/xorg.conf.intel.snail || "`grep \"Driver *\\"intel\\"\" /etc/X11/xorg.conf`" == "" ]]; then
|
||||
[[ -f /etc/X11/xorg.conf && ! -f /etc/X11/xorg.conf.snail-bkp ]] && mv /etc/X11/xorg.conf /etc/X11/xorg.conf.snail-bkp
|
||||
[[ -f /etc/X11/xorg.conf.intel && ! -f /etc/X11/xorg.conf.intel.snail-bkp ]] && mv /etc/X11/xorg.conf.intel /etc/X11/xorg.conf.intel.snail-bkp
|
||||
[[ -f /etc/X11/xorg.conf.nvidia && ! -f /etc/X11/xorg.conf.nvidia.snail-bkp ]] && mv /etc/X11/xorg.conf.nvidia /etc/X11/xorg.conf.nvidia.snail-bkp
|
||||
|
|
Loading…
Reference in New Issue