From 747a8da328ae48e5446f634039615e1e32ef9d3c Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Mon, 12 Oct 2009 22:44:01 +0000 Subject: [PATCH] code cleanup --- inxi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inxi b/inxi index 3693c4c..563b6b2 100755 --- a/inxi +++ b/inxi @@ -4288,7 +4288,7 @@ print_partition_data() # currently only apt using distros support this feature, but over time we can add others 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='' get_repo_data @@ -4316,8 +4316,8 @@ print_repo_data() print_screen_output "$repo_full" done <<< "$REPO_DATA" else - repo_data=$( create_print_line "Repos:" "${C1}Error:${C2} $SCRIPT_NAME does not support this feature for your distro yet." ) - print_screen_output "$repo_data" + repo_full=$( create_print_line "Repos:" "${C1}Error:${C2} $SCRIPT_NAME does not support this feature for your distro yet." ) + print_screen_output "$repo_full" fi }