Ensure that hubzilla repos are no longer pointing to github
This commit is contained in:
parent
d488d661a1
commit
d25f54e468
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue