1
0
mirror of https://github.com/AG7GN/nexus-utilities.git synced 2025-05-29 12:50:14 -07:00

Update install_wecg.sh

This commit is contained in:
Steve Magnuson 2021-09-10 12:56:29 -07:00
parent 70173c6c7f
commit ec203861a9

View File

@ -46,7 +46,7 @@ function Die () {
# Validate input
RE="^[0-9]+([.][0-9]+)?$"
[[ $2 =~ $RE ]] || "ERROR: Arg 2: $2 is not a frequency"
[[ ! -z $4 && $4 =~ $RE ]] || Die "ERROR: Arg 4: $4 is not a frequency"
[[ ! -z $4 ]] && [[ $4 =~ $RE ]] || Die "ERROR: Arg 4: $4 is not a frequency"
FLDIGI_FREQ="$2"
[[ ! -z $4 ]] && RESTORE_FREQ="$4" || RESTORE_FREQ=""