completely silent operation rc
This commit is contained in:
2
rc
2
rc
@@ -21,7 +21,7 @@ TOOLS_LASTUPDATE=$(( $( date +%s ) - $( stat -c %Y "$TOOLSPATH"/.lastupdate ) ))
|
|||||||
[[ "$TOOLS_LASTUPDATE" -gt 604800 ]] && {
|
[[ "$TOOLS_LASTUPDATE" -gt 604800 ]] && {
|
||||||
touch "$TOOLSPATH"/.lastupdate
|
touch "$TOOLSPATH"/.lastupdate
|
||||||
pushd "$TOOLSPATH" > /dev/null
|
pushd "$TOOLSPATH" > /dev/null
|
||||||
hg pull -u
|
hg pull -u 2>&1 > /dev/null
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
}
|
}
|
||||||
unset TOOLS_LASTUPDATE
|
unset TOOLS_LASTUPDATE
|
||||||
|
|||||||
Reference in New Issue
Block a user