Remove xorg.conf which doesn't contain intel driver.

This commit is contained in:
Kolan 2012-05-08 14:49:46 +04:00
parent 092418a5c6
commit 612f5e31b0
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ case "$DISTRIB_ID" in
esac esac
echo "Creating backups of original xorg.conf.* files and replacing with snail's versions..." 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 && ! -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.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 [[ -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