mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 17:07:49 +00:00
trying it again
This commit is contained in:
parent
ab8c8b6ed0
commit
5021731458
2
inxi
2
inxi
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue