mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 22:27:15 +08:00
chd corrections for catalyst-legacy
This commit is contained in:
parent
e08106fd2b
commit
fdc137b2b1
@ -4,7 +4,7 @@
|
||||
# maintainer abveritas@chakra-project.org
|
||||
|
||||
pkgname=chakra-hardware-detection
|
||||
pkgver=20120718
|
||||
pkgver=20120720
|
||||
pkgrel=1
|
||||
pkgdesc="Hardware detection scripts for Chakra"
|
||||
arch=('any')
|
||||
|
@ -124,14 +124,14 @@ hwdetect_graphics()
|
||||
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-12* &>/dev/null
|
||||
pacman -Udf --noconfirm ${HW_DRIVER_PATH}/catalyst-1* &>/dev/null
|
||||
pacman -Udf --noconfirm ${HW_DRIVER_PATH}/catalyst-utils* &>/dev/null
|
||||
|
||||
# add a status file in /tmp
|
||||
touch /tmp/catalyst
|
||||
|
||||
# or maybe a legacy card
|
||||
elif [ $(grep -i "$CARD_ATILEGACY" ${HW_DB_PATH}/${ATILEGACY_DB}) ]
|
||||
elif [ $(grep -i "$CARD_ATI" ${HW_DB_PATH}/${ATILEGACY_DB}) ]
|
||||
then
|
||||
|
||||
printhl "ATI hardware detected"
|
||||
@ -141,7 +141,7 @@ hwdetect_graphics()
|
||||
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-legacy* &>/dev/null
|
||||
pacman -Udf --noconfirm ${HW_DRIVER_PATH}/catalyst-legacy-1* &>/dev/null
|
||||
pacman -Udf --noconfirm ${HW_DRIVER_PATH}/catalyst-legacy-utils* &>/dev/null
|
||||
|
||||
# add a status file in /tmp
|
||||
|
Loading…
Reference in New Issue
Block a user