Browse Source

Switch project repo if its the old one

Bob Mottram 6 years ago
parent
commit
3fe5830e02
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/freedombone-upgrade

+ 4
- 0
src/freedombone-upgrade View File

@@ -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