New version, new tarball. Made separators surround the partition id, that avoids any possible

errors with detections, also added in missing detection for separator.
This commit is contained in:
inxi-svn 2013-05-03 22:45:16 +00:00
parent 4af4fce377
commit 68677c9278
2 changed files with 17 additions and 5 deletions

10
inxi
View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
########################################################################
#### Script Name: inxi
#### Version: 1.8.46
#### Version: 1.8.47
#### Date: May 3 2013
#### Patch Number: 00
########################################################################
@ -4953,17 +4953,17 @@ get_hdd_data_basic()
# this also protects against cases where the mount point has a space in the
# file name, thus breaking going down from $NF directly.
if ( $5 ~ /.*%/ ) {
if ( partitionsSet !~ /.*~$6.*/ ) {
if ( partitionsSet !~ /.*~$6~.*/ ) {
used += $3
}
partitionsSet = partitionsSet "~" $6
partitionsSet = partitionsSet "~" $6 "~"
}
# otherwise use standard
else if ( $6 ~ /.*%/ ) {
if ( partitionsSet !~ /.*$7.*/ ) {
if ( partitionsSet !~ /.*~$7~.*/ ) {
used += $4
}
partitionsSet = partitionsSet "~" $7
partitionsSet = partitionsSet "~" $7 "~"
}
# and if this is not detected, give up, we need user data to debug
else {

View file

@ -1,3 +1,15 @@
=====================================================================================
Version: 1.8.47
Patch Version: 00
Script Date: May 3 2013
-----------------------------------
Changes:
-----------------------------------
New version, new tarball. Made separators surround the partition id, that avoids any possible
errors with detections, also added in missing detection for separator.
-----------------------------------
-- Harald Hope - Fri, 03 May 2013 15:41:26 -0700
=====================================================================================
Version: 1.8.46
Patch Version: 00