diff options
author | 2006-11-29 23:21:42 +0000 | |
---|---|---|
committer | 2006-11-29 23:21:42 +0000 | |
commit | 6d157a8fc61c42683f09de1730a138fb75a2382e (patch) | |
tree | 140744214f9618268c8ddfeae6035dc83db862e8 /livecd-functions.sh | |
parent | Escape = in cmdline checks. (diff) | |
download | livecd-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-x | livecd-functions.sh | 2 |
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) |