Skip to content
Snippets Groups Projects
Commit d25f54e4 authored by Bob Mottram's avatar Bob Mottram
Browse files

Ensure that hubzilla repos are no longer pointing to github

parent d488d661
No related branches found
No related tags found
No related merge requests found
......@@ -202,6 +202,18 @@ function reconfigure_hubzilla {
}
function upgrade_hubzilla {
# ensure that repos are no longer pointing to github
read_config_param HUBZILLA_REPO
if [[ "$HUBZILLA_REPO" == *'github'* ]]; then
HUBZILLA_REPO="https://framagit.org/hubzilla/core"
write_config_param HUBZILLA_REPO "$HUBZILLA_REPO"
fi
read_config_param HUBZILLA_ADDONS_REPO
if [[ "$HUBZILLA_ADDONS_REPO" == *'github'* ]]; then
HUBZILLA_ADDONS_REPO="https://framagit.org/hubzilla/addons"
write_config_param HUBZILLA_ADDONS_REPO "$HUBZILLA_ADDONS_REPO"
fi
CURR_HUBZILLA_COMMIT=$(get_completion_param "hubzilla commit")
if [[ "$CURR_HUBZILLA_COMMIT" == "$HUBZILLA_COMMIT" ]]; then
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment