From 5e23f6caa4be605eb96292083e25da2fd454eb78 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Fri, 7 Aug 2009 00:28:07 +0000 Subject: [PATCH] updated comments --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 50b8ff0..62fc3c2 100755 --- a/inxi +++ b/inxi @@ -3978,7 +3978,7 @@ print_hard_disk_data() if [[ $B_SHOW_DISK == 'true' || $VERBOSITY_LEVEL -ge 3 ]];then hdd_string="$usb_data$dev_data$hdd_name$size_data$hdd_temp_data" hdd_model="${hdd_model}${C1}$(($i+1)):${C2} $hdd_string " - # printing line one, then every other line, and after, if leftovers, print that line. + # printing line one, then new lines according to $divisor setting, and after, if leftovers, print that line. case $i in 0) hdd_data=$( create_print_line "Disks:" "${C1}HDD${C2} ${C1}Total Size:${C2} ${hdd_capacity} (${hdd_used}) ${hdd_model}" ) @@ -3986,7 +3986,7 @@ print_hard_disk_data() hdd_model='' ;; *) - # using modulus here, if divisible by 2, print line, otherwise skip + # using modulus here, if divisible by $divisor, print line, otherwise skip if [[ $(( $i % $divisor )) -eq 0 ]];then hdd_data=$( create_print_line " " "${hdd_model}${CN}" ) print_screen_output "$hdd_data"