瀏覽代碼

Also remove old inadyn repo during upgrade

Bob Mottram 7 年之前
父節點
當前提交
df312b118e
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      src/freedombone-utils-web

+ 3
- 0
src/freedombone-utils-web 查看文件

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