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,6 +511,9 @@ function install_dynamicdns {
511 511
             echo "Removing $INSTALL_DIR/inadyn"
512 512
             rm -rf "$INSTALL_DIR/inadyn"
513 513
         fi
514
+        if [ -d /repos/inadyn ]; then
515
+            rm -rf /repos/inadyn
516
+        fi
514 517
     else
515 518
         # update to the next commit
516 519
         function_check set_repo_commit