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 {
|
function _tools-update {
|
||||||
touch "$TOOLSPATH"/.lastupdate
|
[[ -w "$TOOLSPATH" ]] || return
|
||||||
pushd "$TOOLSPATH" > /dev/null
|
touch "$TOOLSPATH"/.lastupdate
|
||||||
hg pull -u 2>&1
|
[[ -w "$TOOLSPATH"/.lastupdate ]] || return
|
||||||
popd > /dev/null
|
pushd "$TOOLSPATH" > /dev/null
|
||||||
|
hg pull -u 2>&1
|
||||||
|
popd > /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
function qbg {
|
function qbg {
|
||||||
|
|||||||
Reference in New Issue
Block a user