completely silent operation rc

This commit is contained in:
q
2015-07-21 21:43:17 +03:00
parent 5fba065568
commit 504b12c7d9

2
rc
View File

@@ -21,7 +21,7 @@ TOOLS_LASTUPDATE=$(( $( date +%s ) - $( stat -c %Y "$TOOLSPATH"/.lastupdate ) ))
[[ "$TOOLS_LASTUPDATE" -gt 604800 ]] && {
touch "$TOOLSPATH"/.lastupdate
pushd "$TOOLSPATH" > /dev/null
hg pull -u
hg pull -u 2>&1 > /dev/null
popd > /dev/null
}
unset TOOLS_LASTUPDATE