From 23195fccf73e9cad668f812ee5a9c3158b20057d Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sun, 7 Aug 2011 17:52:57 -0500
Subject: linhes-config: xconfig.sh: fix cmd to uninstall nvidia drivers

---
 abs/core/LinHES-config/PKGBUILD   | 4 ++--
 abs/core/LinHES-config/xconfig.sh | 7 ++++++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD
index faaefee..389ca0d 100644
--- a/abs/core/LinHES-config/PKGBUILD
+++ b/abs/core/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-config
 pkgver=2.2
-pkgrel=29
+pkgrel=30
 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev LinHes-config )
 pkgdesc="Install and configure your system"
 depends=('bc' 'libstatgrab'  'mysql-python' 'expect' 'curl' 'dnsutils' 'parted'
@@ -110,7 +110,7 @@ md5sums=('c737f8538aea20fcb5f3903957e80837'
          'c20f73d4da5d7e15e1f3eb85c7dcb49a'
          '8ac1cfd2eca0f641737da0d0aca416a7'
          '9ae8d79f620c6d19973c55c32a921874'
-         '627f01898f8a9800bd3db11dfd5c3655'
+         'ad2ba000decfc1e50533692f1793e620'
          'ecf9e5df20683a769c4a8a8f2d65de85'
          'e459ed069317bccb20351f037a9df3d2'
          '83be9a3bc72179909773479c74d13b38'
diff --git a/abs/core/LinHES-config/xconfig.sh b/abs/core/LinHES-config/xconfig.sh
index 2543495..11aedf5 100755
--- a/abs/core/LinHES-config/xconfig.sh
+++ b/abs/core/LinHES-config/xconfig.sh
@@ -196,7 +196,12 @@ function setupAdvancedX {
 }
 
 function nvidia_prepare {
-    pacman --noconfirm -Rdd libgl nvidia nvidia-utils nvidia-173xx nvidia-173xx-utils nvidia-96xx nvidia-96xx-utils > /dev/null 2>&1
+    for i in libgl nvidia nvidia-utils nvidia-173xx nvidia-173xx-utils nvidia-96xx nvidia-96xx-utils
+    do
+        echo "Removing $i"
+        pacman --noconfirm -Rdd $i > /dev/null 2>&1    
+    done
+
     for i in `echo ${NVPKGS}`
     do
          echo $i
-- 
cgit v0.12