From 3fe5830e0293377cdbf76a593128a429f8b29fa8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 9 Jun 2018 11:47:48 +0100 Subject: [PATCH] Switch project repo if its the old one --- src/freedombone-upgrade | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone-upgrade b/src/freedombone-upgrade index 9c25da8f..340ea382 100755 --- a/src/freedombone-upgrade +++ b/src/freedombone-upgrade @@ -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