From 5d23e39ff1801d10e28792b023043eac5baeb499 Mon Sep 17 00:00:00 2001 From: tb14 Date: Sat, 15 Oct 2022 18:04:14 -0500 Subject: [PATCH] chirp version check --- AmRRON-Setup-Script.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AmRRON-Setup-Script.sh b/AmRRON-Setup-Script.sh index c460227..ade2899 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -152,7 +152,11 @@ fi if hash chirpw 2>/dev/null; then CHIRP=$(chirpw --version | awk -F 'daily-' '{print $2}' | head -c 8) else + if hash chirp-snap 2>/dev/null; then + CHIRP=$(chirp-snap --version | awk -F 'daily-' '{print $2}' | head -c 8) + else CHIRP="NOT INSTALLED" + fi fi if hash electrum 2>/dev/null; then