From 81204ffbed9e519db171c62653b91a170a2ae299 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sat, 15 Oct 2011 16:12:28 -0500
Subject: LinHES-config: xconfig.sh: redirect pacman output

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

diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD
index a686394..a4e3577 100644
--- a/abs/core/LinHES-config/PKGBUILD
+++ b/abs/core/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-config
 pkgver=2.3
-pkgrel=10
+pkgrel=11
 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=('6259677916192a92d1adf47b276f7829'
          'c20f73d4da5d7e15e1f3eb85c7dcb49a'
          '8ac1cfd2eca0f641737da0d0aca416a7'
          '9ae8d79f620c6d19973c55c32a921874'
-         'ad2ba000decfc1e50533692f1793e620'
+         'dc04df2556b916302f8b37176a5f05b3'
          'ecf9e5df20683a769c4a8a8f2d65de85'
          'e459ed069317bccb20351f037a9df3d2'
          '97de45a04f4efbd9d40d9fc0e1db1c3f'
diff --git a/abs/core/LinHES-config/xconfig.sh b/abs/core/LinHES-config/xconfig.sh
index 11aedf5..2e5e949 100755
--- a/abs/core/LinHES-config/xconfig.sh
+++ b/abs/core/LinHES-config/xconfig.sh
@@ -204,10 +204,8 @@ function nvidia_prepare {
 
     for i in `echo ${NVPKGS}`
     do
-         echo $i
-          pacman --noconfirm  -Rc $i
-     #     echo pacman -R $NVPKGS
-          #pacman -R $NVPKGS
+        echo "Removing $i"
+        pacman --noconfirm  -Rc $i > /dev/null 2>&1
     done
 
 
@@ -228,8 +226,6 @@ function nvidia_driver_install {
             then
                 #install latest drivers
                 echo "installing current nvidia drivers"
-              #  pacman --noconfirm  -Rd libgl > /dev/null 2>&1
-              #  pacman --noconfirm  -R $NVPKGS > /dev/null 2>&1
                 nvidia_prepare
                 pacman --noconfirm  -S nvidia nvidia-utils > /dev/null 2>&1
             fi
@@ -241,8 +237,6 @@ function nvidia_driver_install {
             then
                 #install 96xx drivers
                 echo "installing nvidia 96xx drivers"
-# #                 pacman --noconfirm  -Rd libgl > /dev/null 2>&1
-# #                 pacman --noconfirm  -R $NVPKGS > /dev/null 2>&1
                 nvidia_prepare
                 pacman --noconfirm  -S nvidia-96xx nvidia-96xx-utils  > /dev/null 2>&1
             fi
@@ -252,8 +246,6 @@ function nvidia_driver_install {
             then
                 #install latest drivers
                 echo "installing 173 nvidia drivers"
-#                 pacman --noconfirm  -Rd libgl > /dev/null 2>&1
-#                 pacman --noconfirm  -R $NVPKGS > /dev/null 2>&1
                 nvidia_prepare
                 pacman --noconfirm  -S nvidia-173xx nvidia-173xx-utils > /dev/null 2>&1
             fi
-- 
cgit v0.12

