diff --git a/rc b/rc index fca9451..13f3d35 100755 --- a/rc +++ b/rc @@ -44,6 +44,9 @@ function _q-tools-update-binary { function _self_update() { touch "$QTOOLSPATH"/.lastupdate pushd "$QTOOLSPATH" > /dev/null + git remote get-url origin 2>&1 | grep -q https...bitbucket.org/MoonQ && { + git remote set-url origin https://git.six9.net/moonq/q-tools + } [[ "$1" = "-u" ]] && { git pull } || {