mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
Tiny change, new version, tarball. Tumbleweed distro id fix.
This commit is contained in:
parent
be5714c8b3
commit
49d9d82862
7
inxi
7
inxi
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### Version: 2.3.15
|
#### Version: 2.3.16
|
||||||
#### Date: 2017-06-08
|
#### Date: 2017-06-08
|
||||||
#### Patch Number: 00
|
#### Patch Number: 00
|
||||||
########################################################################
|
########################################################################
|
||||||
|
@ -5966,7 +5966,7 @@ get_distro_lsb_os_release_data()
|
||||||
}
|
}
|
||||||
# note: adding the spacing directly to variable to make sure distro output is null if not found
|
# note: adding the spacing directly to variable to make sure distro output is null if not found
|
||||||
/^PRETTY_NAME/ {
|
/^PRETTY_NAME/ {
|
||||||
if ( $2 != "n/a" ) {
|
if ( $2 != "n/a" ) {
|
||||||
prettyName = $2
|
prettyName = $2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5984,7 +5984,8 @@ get_distro_lsb_os_release_data()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
END {
|
END {
|
||||||
if ( prettyName != "" ) {
|
# NOTE: tumbleweed has pretty name but pretty name does not have version id
|
||||||
|
if ( prettyName != "" && regularName !~ /tumbleweed/ ) {
|
||||||
distroName = prettyName
|
distroName = prettyName
|
||||||
}
|
}
|
||||||
else if ( regularName != "" ) {
|
else if ( regularName != "" ) {
|
||||||
|
|
|
@ -1,3 +1,15 @@
|
||||||
|
=====================================================================================
|
||||||
|
Version: 2.3.16
|
||||||
|
Patch Version: 00
|
||||||
|
Script Date: 2017-06-08
|
||||||
|
-----------------------------------
|
||||||
|
Changes:
|
||||||
|
-----------------------------------
|
||||||
|
Tiny change, new version, tarball. Tumbleweed distro id fix.
|
||||||
|
|
||||||
|
-----------------------------------
|
||||||
|
-- Harald Hope - Thu, 08 Jun 2017 21:02:53 -0700
|
||||||
|
|
||||||
=====================================================================================
|
=====================================================================================
|
||||||
Version: 2.3.15
|
Version: 2.3.15
|
||||||
Patch Version: 00
|
Patch Version: 00
|
||||||
|
|
Loading…
Reference in a new issue