Explorar el Código

Switch project repo if its the old one

Bob Mottram hace 6 años
padre
commit
3fe5830e02
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4
    0
      src/freedombone-upgrade

+ 4
- 0
src/freedombone-upgrade Ver fichero

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