manual self updater

This commit is contained in:
q
2015-07-25 07:09:14 +03:00
parent b18d716455
commit 84b2013511

View File

@@ -331,3 +331,9 @@ function foldermenu_prompt {
} }
} }
function _tools-update {
touch "$TOOLSPATH"/.lastupdate
pushd "$TOOLSPATH" > /dev/null
hg pull -u 2>&1
popd > /dev/null
}