ansiweather

Weather in terminal, with ANSI colors and Unicode symbols
Log | Files | Refs | README | LICENSE

commit 03551eb0de52f6e97cb606d757ebe05399380117
parent 73d080163e68a8c035baf943353b651dba44244a
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon, 23 Aug 2021 12:00:15 +0200

Merge pull request #135 from er0k/master

use command -v instead of which
Diffstat:
Mansiweather | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ansiweather b/ansiweather @@ -78,14 +78,14 @@ done ###[ Check if bc and jq are installed ]######################################## -jqpath=$(which jq) +jqpath=$(command -v jq) if [ "$jqpath" = "" ] then echo "ERROR: Cannot find jq binary" exit 69 # EX_UNAVAILABLE fi -bcpath=$(which bc) +bcpath=$(command -v bc) if [ "$bcpath" = "" ] then echo "ERROR: Cannot find bc binary"