mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
(Change Version Number)
Small tweak to partition printout section to make things line up better.
This commit is contained in:
parent
3b1e36a1ee
commit
11e38953c4
8
inxi
8
inxi
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 0.5.5
|
#### version: 0.5.7
|
||||||
#### Date: November 10 2008
|
#### Date: November 10 2008
|
||||||
########################################################################
|
########################################################################
|
||||||
#### inxi is a fork of infobash, the original bash sys info script by locsmif
|
#### inxi is a fork of infobash, the original bash sys info script by locsmif
|
||||||
|
@ -2048,12 +2048,12 @@ print_hdd_partition_data()
|
||||||
swap=''
|
swap=''
|
||||||
fi
|
fi
|
||||||
if [[ $i < 3 ]];then
|
if [[ $i < 3 ]];then
|
||||||
partition_data="$partition_data${C1}ID:${C2}$swap ${a_partition_working[0]} ${C1}size:${C2} ${a_partition_working[1]}$partition_used "
|
partition_data="$partition_data${C1}ID:${C2}$swap${a_partition_working[0]} ${C1}size:${C2} ${a_partition_working[1]}$partition_used "
|
||||||
else
|
else
|
||||||
partition_data_2="$partition_data_2${C1}ID:${C2}$swap ${a_partition_working[0]} ${C1}size:${C2} ${a_partition_working[1]}$partition_used "
|
partition_data_2="$partition_data_2${C1}ID:${C2}$swap${a_partition_working[0]} ${C1}size:${C2} ${a_partition_working[1]}$partition_used "
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
partition_data=$( create_print_line "Partitions:" "${C1}${C2}${partition_data}" )
|
partition_data=$( create_print_line "Partition:" "${partition_data}" )
|
||||||
print_screen_output "$partition_data"
|
print_screen_output "$partition_data"
|
||||||
if [[ -n $partition_data_2 ]];then
|
if [[ -n $partition_data_2 ]];then
|
||||||
partition_data_2=$( create_print_line " " "${partition_data_2}" )
|
partition_data_2=$( create_print_line " " "${partition_data_2}" )
|
||||||
|
|
Loading…
Reference in a new issue