more checkig for update
This commit is contained in:
@@ -337,7 +337,9 @@ function foldermenu_prompt {
|
||||
}
|
||||
|
||||
function _tools-update {
|
||||
[[ -w "$TOOLSPATH" ]] || return
|
||||
touch "$TOOLSPATH"/.lastupdate
|
||||
[[ -w "$TOOLSPATH"/.lastupdate ]] || return
|
||||
pushd "$TOOLSPATH" > /dev/null
|
||||
hg pull -u 2>&1
|
||||
popd > /dev/null
|
||||
|
||||
Reference in New Issue
Block a user