Switch project repo if its the old one

This commit is contained in:
Bob Mottram 2018-06-09 11:47:48 +01:00
parent ab4b78778b
commit 3fe5830e02
1 changed files with 4 additions and 0 deletions

View File

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