diff --git a/inxi b/inxi index 138664d..54db5c2 100755 --- a/inxi +++ b/inxi @@ -3,7 +3,7 @@ #### Script Name: inxi #### version: 1.8.24 #### Date: December 6 2012 -#### Patch Number: 03-b1 +#### Patch Number: 04-b1 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -6075,14 +6075,14 @@ get_repo_data() urlData = $1 } # note: either it is simple enabled, or it is enabled = 1. enabled = 0 means disabled - $1 ~ /^enabled=/ && $1 !~ /^enabled[[:space:]]*=[[:space:]]*0/ { + /^enabled=/ { enabledStatus = $1 } # print out the line if all 3 values are found, otherwise if a new # repoTitle is hit above, it will print out the line there instead { if ( urlData != "" && enabledStatus != "" && repoTitle != "" ){ - if ( enabledStatus !~ /enabled=0/ ){ + if ( enabledStatus !~ /enabled[[:space:]]*=[[:space:]]*0/ ){ print_line( repoFile, repoTitle, urlData ) } enabledStatus=""