From bca368c46193df86857f87f1977fcf7e7e87bd33 Mon Sep 17 00:00:00 2001 From: q Date: Thu, 16 Jun 2016 17:43:15 +0300 Subject: [PATCH] static update location for automated updates --- rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc b/rc index 66782a3..bf1163d 100755 --- a/rc +++ b/rc @@ -14,9 +14,9 @@ function _self_update() { touch "$TOOLSPATH"/.lastupdate pushd "$TOOLSPATH" > /dev/null [[ "$1" = "-u" ]] && { - hg pull -u + hg pull -u https://bitbucket.org/MoonQ/tools } || { - timeout 5 hg pull -u > /dev/null 2>&1 + timeout 5 hg pull -u hg pull https://bitbucket.org/MoonQ/tools > /dev/null 2>&1 } popd > /dev/null }