浏览代码

Switch project repo if its the old one

Bob Mottram 6 年前
父节点
当前提交
3fe5830e02
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      src/freedombone-upgrade

+ 4
- 0
src/freedombone-upgrade 查看文件

@@ -55,6 +55,10 @@ done
55 55
 source "/usr/share/${PROJECT_NAME}/base/${PROJECT_NAME}-base-email"
56 56
 
57 57
 read_config_param PROJECT_REPO
58
+if [[ "$PROJECT_REPO" == "https://github.com/bashrc/${PROJECT_NAME}" ]]; then
59
+    PROJECT_REPO="https://code.freedombone.net/bashrc/${PROJECT_NAME}"
60
+    write_config_param PROJECT_REPO
61
+fi
58 62
 read_config_param DEVELOPMENT_BRANCH
59 63
 read_config_param DEFAULT_DOMAIN_NAME
60 64