chirp version check

This commit is contained in:
tb14
2022-10-15 18:04:14 -05:00
parent 07083039b9
commit 5d23e39ff1
+4
View File
@@ -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