mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
code cleanup
This commit is contained in:
parent
57b65b7994
commit
15014560eb
10
inxi
10
inxi
|
@ -3107,11 +3107,11 @@ get_repo_data()
|
||||||
do
|
do
|
||||||
repo_data_working="$( gawk -v repoFile=$repo_file '
|
repo_data_working="$( gawk -v repoFile=$repo_file '
|
||||||
BEGIN {
|
BEGIN {
|
||||||
FS="\n"
|
FS="\n"
|
||||||
IGNORECASE=1
|
IGNORECASE=1
|
||||||
enabledStatus=""
|
enabledStatus=""
|
||||||
repoTitle=""
|
repoTitle=""
|
||||||
urlData=""
|
urlData=""
|
||||||
}
|
}
|
||||||
# this is a hack, assuming that each item has these fields listed, we collect the 3
|
# this is a hack, assuming that each item has these fields listed, we collect the 3
|
||||||
# items one by one, then when the url/enabled fields are set, we print it out and
|
# items one by one, then when the url/enabled fields are set, we print it out and
|
||||||
|
|
Loading…
Reference in a new issue