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