mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
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:
parent
4af4fce377
commit
68677c9278
10
inxi
10
inxi
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue