diff --git a/AmRRON-Setup-Script.sh b/AmRRON-Setup-Script.sh index 7cba31e..e76cd52 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -107,7 +107,7 @@ function check_installed_programs() { echo "Please wait while I determine what programs and versions are already present...." if hash rigctl 2>/dev/null; then - HAMLIB=$(rigctl --version | grep Hamlib | sed s/"rigctl(d),\ Hamlib\ "//) + HAMLIB=$(rigctl --version | awk 'FNR ==1 {print $3}') else HAMLIB="NOT INSTALLED" fi