debugging

This commit is contained in:
inxi-svn 2009-02-07 03:41:28 +00:00
parent 2dcbd5e05d
commit 90ae73b2f4

6
inxi
View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
######################################################################## ########################################################################
#### Script Name: inxi #### Script Name: inxi
#### version: 0.10.2-b1-t1 #### version: 0.10.2-b1-t2
#### Date: 5 February 2009 #### Date: 5 February 2009
######################################################################## ########################################################################
#### SPECIAL THANKS #### SPECIAL THANKS
@ -2442,7 +2442,7 @@ get_partition_data_advanced()
dev_uuid=${a_partition_working[7]} dev_uuid=${a_partition_working[7]}
# first if the dev data/label data is incomplete, try to get missing piece # first if the dev data/label data is incomplete, try to get missing piece
if [[ -n $dev_disk_label ]];then if [[ -n "$dev_disk_label" ]];then
if [[ -n $dev_item && -z $dev_label ]];then if [[ -n $dev_item && -z $dev_label ]];then
dev_label=$( echo "$dev_disk_label" | gawk ' dev_label=$( echo "$dev_disk_label" | gawk '
/'$dev_item'$/ { /'$dev_item'$/ {
@ -2457,7 +2457,7 @@ get_partition_data_advanced()
fi fi
fi fi
# then if dev data/uuid is incomplete, try to get missing piece # then if dev data/uuid is incomplete, try to get missing piece
if [[ -n $dev_disk_uuid ]];then if [[ -n "$dev_disk_uuid" ]];then
if [[ -n $dev_item && -z $dev_uuid ]];then if [[ -n $dev_item && -z $dev_uuid ]];then
dev_uuid=$( echo "$dev_disk_uuid" | gawk ' dev_uuid=$( echo "$dev_disk_uuid" | gawk '
/'$dev_item'$/ { /'$dev_item'$/ {