mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
New version, tarball. Tiny fix, due to a data bug, changing ft to m in weather altitude.
Note that this bug is not universal, but I believe this will make inxi more right than wrong as a general rule. Further note that altitude is NOT actually the altitude of the city/location requested, in most cases, but rather the altitude of the weather station data assigned to that location request.
This commit is contained in:
parent
744579c386
commit
c498f92fcf
7
inxi
7
inxi
|
@ -1,8 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
########################################################################
|
||||
#### Script Name: inxi
|
||||
#### Version: 2.3.8
|
||||
#### Date: 2017-01-14
|
||||
#### Version: 2.3.9
|
||||
#### Date: 2017-05-29
|
||||
#### Patch Number: 00
|
||||
########################################################################
|
||||
#### SPECIAL THANKS
|
||||
|
@ -15058,7 +15058,8 @@ print_weather_data()
|
|||
country=" $openP${a_location[5]}$closeP"
|
||||
fi
|
||||
if [[ -n ${a_weather[10]} ]];then
|
||||
altitude=" ${C1}Altitude$SEP3${C2} ${a_weather[10]}"
|
||||
# note: bug in source data uses ft for meters, not 100% of time, but usually
|
||||
altitude=" ${C1}Altitude$SEP3${C2} ${a_weather[10]/ft/m}"
|
||||
fi
|
||||
location_string="${C1}Location$SEP3${C2}$city$state$country$altitude "
|
||||
else
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
=====================================================================================
|
||||
Version: 2.3.9
|
||||
Patch Version: 00
|
||||
Script Date: 2017-05-29
|
||||
-----------------------------------
|
||||
Changes:
|
||||
-----------------------------------
|
||||
New version, tarball. Tiny fix, due to a data bug, changing ft to m in weather altitude.
|
||||
|
||||
Note that this bug is not universal, but I believe this will make inxi more right than wrong
|
||||
as a general rule. Further note that altitude is NOT actually the altitude of the city/location
|
||||
requested, in most cases, but rather the altitude of the weather station data assigned to that
|
||||
location request.
|
||||
|
||||
-----------------------------------
|
||||
-- Harald Hope - Mon, 29 May 2017 12:40:12 -0700
|
||||
|
||||
=====================================================================================
|
||||
Version: 2.3.8
|
||||
Patch Version: 00
|
||||
|
|
Loading…
Reference in a new issue