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
af0420a1ed
commit
747a8da328
6
inxi
6
inxi
|
@ -4288,7 +4288,7 @@ print_partition_data()
|
||||||
# currently only apt using distros support this feature, but over time we can add others
|
# currently only apt using distros support this feature, but over time we can add others
|
||||||
print_repo_data()
|
print_repo_data()
|
||||||
{
|
{
|
||||||
local repo_data='' repo_count=0 repo_line='' file_name='' file_content='' file_name_holder=''
|
local repo_count=0 repo_line='' file_name='' file_content='' file_name_holder=''
|
||||||
local repo_full=''
|
local repo_full=''
|
||||||
|
|
||||||
get_repo_data
|
get_repo_data
|
||||||
|
@ -4316,8 +4316,8 @@ print_repo_data()
|
||||||
print_screen_output "$repo_full"
|
print_screen_output "$repo_full"
|
||||||
done <<< "$REPO_DATA"
|
done <<< "$REPO_DATA"
|
||||||
else
|
else
|
||||||
repo_data=$( create_print_line "Repos:" "${C1}Error:${C2} $SCRIPT_NAME does not support this feature for your distro yet." )
|
repo_full=$( create_print_line "Repos:" "${C1}Error:${C2} $SCRIPT_NAME does not support this feature for your distro yet." )
|
||||||
print_screen_output "$repo_data"
|
print_screen_output "$repo_full"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue