change from bitbucket
This commit is contained in:
3
rc
3
rc
@@ -44,6 +44,9 @@ function _q-tools-update-binary {
|
|||||||
function _self_update() {
|
function _self_update() {
|
||||||
touch "$QTOOLSPATH"/.lastupdate
|
touch "$QTOOLSPATH"/.lastupdate
|
||||||
pushd "$QTOOLSPATH" > /dev/null
|
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" ]] && {
|
[[ "$1" = "-u" ]] && {
|
||||||
git pull
|
git pull
|
||||||
} || {
|
} || {
|
||||||
|
|||||||
Reference in New Issue
Block a user