manual self updater
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user