change from bitbucket

This commit is contained in:
Q
2024-08-06 21:59:40 +03:00
parent beac3c11a2
commit a12fa6520b

3
rc
View File

@@ -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
} || { } || {