Changing the variable
This commit is contained in:
parent
768004e799
commit
d28b617bac
1 changed files with 2 additions and 1 deletions
|
|
@ -94,7 +94,8 @@ elif [[ "$weather_desc" == "fog" || "$weather_desc" == "mist" ]]; then
|
||||||
echo -e "\t\e[31mthe fog is coming owo~\e[0m"
|
echo -e "\t\e[31mthe fog is coming owo~\e[0m"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$wind_speed" -gt 8 ] ; then
|
wind_speed_rounded=$(echo "$wind_speed" | awk '{ print int($1) }')
|
||||||
|
if [ "$wind_speed_rounded" -gt 8 ] ; then
|
||||||
echo -e "\t\e[36mwind is stwong, be caweful!\e[0m"
|
echo -e "\t\e[36mwind is stwong, be caweful!\e[0m"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue