code cleanup

This commit is contained in:
inxi-svn 2009-10-12 22:44:01 +00:00
parent af0420a1ed
commit 747a8da328

6
inxi
View file

@ -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
} }