trying it again

This commit is contained in:
inxi-svn 2012-12-22 03:08:22 +00:00
parent ab8c8b6ed0
commit 5021731458

2
inxi
View file

@ -6075,7 +6075,7 @@ get_repo_data()
urlData = $1 urlData = $1
} }
# note: either it is simple enabled, or it is enabled = 1. enabled = 0 means disabled # note: either it is simple enabled, or it is enabled = 1. enabled = 0 means disabled
/^enabled=/ && !/^enabled[[:space:]]*=[[:space:]]*0/ { $1 ~ /^enabled=/ && $1 !~ /^enabled[[:space:]]*=[[:space:]]*0/ {
enabledStatus = $1 enabledStatus = $1
} }
# print out the line if all 3 values are found, otherwise if a new # print out the line if all 3 values are found, otherwise if a new