From 9100ceff1c30da6da34c7bd3e643768463c372fa Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 30 Apr 2011 07:15:03 +0000 Subject: [PATCH] maybe bug fix --- inxi | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/inxi b/inxi index a82b50e..189af7e 100755 --- a/inxi +++ b/inxi @@ -462,7 +462,7 @@ BAN_LIST_CPU='' ### USB networking search string data, because some brands can have other products than ### wifi/nic cards, they need further identifiers, with wildcards. -USB_NETWORK_SEARCH="Atmel Davicom Linksys Netgear Realtek.*Network Realtek.*Wireless Realtek.*WLAN" +USB_NETWORK_SEARCH="Atmel CanoScan Davicom Linksys Netgear Realtek.*Network Realtek.*Wireless Realtek.*WLAN" # WARNING: In the main part below (search for 'KONVI') # there's a check for Konversation-specific config files. @@ -3327,14 +3327,15 @@ get_networking_data() print string ",,,,usb-" $6 } }' <<< "$card_data" ) - -# if [[ -n $array_string ]];then -# array_count=${#A_AUDIO_DATA[@]} -# A_NETWORK_DATA[$array_count]="$array_string" -# fi + IFS=$'\n' + if [[ -n $array_string ]];then + array_count=${#A_AUDIO_DATA[@]} + A_NETWORK_DATA[$array_count]="$array_string" + fi + IFS="$ORIGINAL_IFS" fi fi - + if [[ $B_SHOW_ADVANCED_NETWORK == 'true' ]];then get_network_advanced_data fi