Browse Source

Also remove old inadyn repo during upgrade

Bob Mottram 7 years ago
parent
commit
df312b118e
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/freedombone-utils-web

+ 3
- 0
src/freedombone-utils-web View File

511
             echo "Removing $INSTALL_DIR/inadyn"
511
             echo "Removing $INSTALL_DIR/inadyn"
512
             rm -rf "$INSTALL_DIR/inadyn"
512
             rm -rf "$INSTALL_DIR/inadyn"
513
         fi
513
         fi
514
+        if [ -d /repos/inadyn ]; then
515
+            rm -rf /repos/inadyn
516
+        fi
514
     else
517
     else
515
         # update to the next commit
518
         # update to the next commit
516
         function_check set_repo_commit
519
         function_check set_repo_commit