summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-11-29 23:21:42 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-11-29 23:21:42 +0000
commit6d157a8fc61c42683f09de1730a138fb75a2382e (patch)
tree140744214f9618268c8ddfeae6035dc83db862e8 /livecd-functions.sh
parentEscape = in cmdline checks. (diff)
downloadlivecd-tools-6d157a8fc61c42683f09de1730a138fb75a2382e.tar.gz
livecd-tools-6d157a8fc61c42683f09de1730a138fb75a2382e.tar.bz2
livecd-tools-6d157a8fc61c42683f09de1730a138fb75a2382e.zip
Added sed from Jens Pranaitis <hans.maulwurf@gmail.com> to fix ATI detection. Closing bug #154559.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@123 7bf51bff-881f-0410-a643-fba68b97345e
Diffstat (limited to 'livecd-functions.sh')
-rwxr-xr-xlivecd-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/livecd-functions.sh b/livecd-functions.sh
index 040d934..6a061b1 100755
--- a/livecd-functions.sh
+++ b/livecd-functions.sh
@@ -114,7 +114,7 @@ get_video_cards() {
fi
elif [ -n "${ATI}" ]
then
- ATI_CARD=$(echo ${ATI} | awk 'BEGIN {RS=" "} /(R|RV|RS)[0-9]+/ {print $1}')
+ ATI_CARD=$(echo ${ATI} | awk 'BEGIN {RS=" "} /(R|RV|RS)[0-9]+/ {print $1}' | sed -e 's/[^0-9]//g')
if [ $(echo ${ATI_CARD} | grep S) ]
then
ATI_CARD_S=$(echo ${ATI_CARD} | cut -dS -f2)