From 233bd44db0fa07b398b62f18199d71f780cc84fd Mon Sep 17 00:00:00 2001 From: tb14 Date: Tue, 18 Oct 2022 08:47:25 -0500 Subject: [PATCH] hamlib check if installed --- AmRRON-Setup-Script.sh | 6 ++++-- changelogs/CHANGELOG-Setup-Script.md | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/AmRRON-Setup-Script.sh b/AmRRON-Setup-Script.sh index 858db74..6a3ba18 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -593,8 +593,10 @@ if [[ $NEWHAMLIB == "SERVER DOWN" ]]; then return fi -if [[ -d $USERDIR/hamlib-$NEWHAMLIB ]]; then - echo "Hamlib $NEWHAMLIB already present" + if [[ ${HAMLIB} == ${NEWHAMLIB} ]]; then + echo "HAMLIB is already at the most current version" + + else # tcl8.5-dev libsigc++-1.2-dev, Trying libsigc++-2.0-dev tcl8.6-dev diff --git a/changelogs/CHANGELOG-Setup-Script.md b/changelogs/CHANGELOG-Setup-Script.md index b146f82..6bd72cf 100644 --- a/changelogs/CHANGELOG-Setup-Script.md +++ b/changelogs/CHANGELOG-Setup-Script.md @@ -2,7 +2,7 @@ - More clean up for os detection and dependencies - Removed stated support for old operating systems. Stated support for Buster, Bullseye(32/64bit), Mint 20.3/21. - Bitmessage info - +- Fixed Hamlib from reinstalling if already up to date. # Version 0.7.2 - FLDIGI raspbian 64bit check