diff --git a/AmRRON-Setup-Script.sh b/AmRRON-Setup-Script.sh index 655a645..1e5c083 100755 --- a/AmRRON-Setup-Script.sh +++ b/AmRRON-Setup-Script.sh @@ -1139,8 +1139,10 @@ function ardopcf_install() { mv $ARDOPDIR/$ARDOP $ARDOPDIR/${ARDOP}-$(date +%h%d).bak || { ERRCODE="Failed to create backup of current ardop file"; errors; return; } fi + if [[ -f $ARDOPDIR/*.txt ]]; then rm $ARDOPDIR/*.txt || { ERRCODE="Failed to remove previous date marker file"; errors; return; } + fi mkdir -p $ARDOPDIR && mkdir $ARDOPDIR/build && cd $ARDOPDIR/build || { ERRCODE="Failed to create ardopcf build directory"; errors; return; } git clone https://github.com/pflarue/ardop.git ||