Commit 4493edad authored by Phil's avatar Phil
Browse files

adopt chwd to pacman3

parent b23168de
......@@ -9,7 +9,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=chakra-hardware-detection
pkgver=20110710
pkgrel=1
pkgrel=2
pkgdesc="Hardware detection scripts for Chakra"
arch=('any')
url="http://www.chakra-project.org"
......
......@@ -76,10 +76,10 @@ hwdetect_graphics()
rmmod -f ttm
rmmod -f drm_kms_helper
rmmod -f drm
pacman -Rd --noconfirm libgl &>/dev/null
pacman -Rd --noconfirm nouveau-dri &>/dev/null
pacman -Rd --noconfirm xf86-video-nv &>/dev/null
pacman -Rd --noconfirm xf86-video-nouveau &>/dev/null
pacman -Rdd --noconfirm libgl &>/dev/null
pacman -Rdd --noconfirm nouveau-dri &>/dev/null
pacman -Rdd --noconfirm xf86-video-nv &>/dev/null
pacman -Rdd --noconfirm xf86-video-nouveau &>/dev/null
pacman -Udf --noconfirm ${HW_DRIVER_PATH}/nvidia-utils-${NVIDIA_DRV_VER}* &>/dev/null
pacman -Udf --noconfirm ${HW_DRIVER_PATH}/nvidia*${NVIDIA_DRV_VER}* &>/dev/null
......@@ -97,10 +97,10 @@ hwdetect_graphics()
rmmod -f ttm
rmmod -f drm_kms_helper
rmmod -f drm
pacman -Rd --noconfirm libgl &>/dev/null
pacman -Rd --noconfirm nouveau-dri &>/dev/null
pacman -Rd --noconfirm xf86-video-nv &>/dev/null
pacman -Rd --noconfirm xf86-video-nouveau &>/dev/null
pacman -Rdd --noconfirm libgl &>/dev/null
pacman -Rdd --noconfirm nouveau-dri &>/dev/null
pacman -Rdd --noconfirm xf86-video-nv &>/dev/null
pacman -Rdd --noconfirm xf86-video-nouveau &>/dev/null
pacman -Udf --noconfirm ${HW_DRIVER_PATH}/nvidia-173xx* &>/dev/null
# add a status file in /tmp
......@@ -117,10 +117,10 @@ hwdetect_graphics()
# rmmod -f ttm
# rmmod -f drm_kms_helper
# rmmod -f drm
# pacman -Rd --noconfirm libgl &>/dev/null
# pacman -Rd --noconfirm nouveau-dri &>/dev/null
# pacman -Rd --noconfirm xf86-video-nv &>/dev/null
# pacman -Rd --noconfirm xf86-video-nouveau &>/dev/null
# pacman -Rdd --noconfirm libgl &>/dev/null
# pacman -Rdd --noconfirm nouveau-dri &>/dev/null
# pacman -Rdd --noconfirm xf86-video-nv &>/dev/null
# pacman -Rdd --noconfirm xf86-video-nouveau &>/dev/null
# pacman -Udf --noconfirm ${HW_DRIVER_PATH}/nvidia-96xx* &>/dev/null
#
# # add a status file in /tmp
......@@ -139,9 +139,9 @@ hwdetect_graphics()
printhl "ATI hardware detected"
printhl "Installing driver: ATI catalyst. This can take some seconds."
pacman -Rd --noconfirm ati-dri &>/dev/null
pacman -Rd --noconfirm xf86-video-ati &>/dev/null
pacman -Rd --noconfirm xf86-video-radeonhd &>/dev/null
pacman -Rdd --noconfirm ati-dri &>/dev/null
pacman -Rdd --noconfirm xf86-video-ati &>/dev/null
pacman -Rdd --noconfirm xf86-video-radeonhd &>/dev/null
pacman -Udf --noconfirm ${HW_DRIVER_PATH}/catalyst* &>/dev/null
# add a status file in /tmp
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment