summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-08-07 22:52:57 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-08-07 22:52:57 (GMT)
commit23195fccf73e9cad668f812ee5a9c3158b20057d (patch)
treebb0427c2e617bb6ac9f5574e7736187a91bc1956
parent5e35beb967efb7dc382daf41bb6328611a30c6ec (diff)
downloadlinhes_pkgbuild-23195fccf73e9cad668f812ee5a9c3158b20057d.zip
linhes_pkgbuild-23195fccf73e9cad668f812ee5a9c3158b20057d.tar.gz
linhes_pkgbuild-23195fccf73e9cad668f812ee5a9c3158b20057d.tar.bz2
linhes-config: xconfig.sh: fix cmd to uninstall nvidia drivers
-rw-r--r--abs/core/LinHES-config/PKGBUILD4
-rwxr-xr-xabs/core/LinHES-config/xconfig.sh7
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