quiet rc
This commit is contained in:
2
rc
2
rc
@@ -11,7 +11,7 @@ export PATH
|
|||||||
. "$TOOLSPATH"/qcd_function
|
. "$TOOLSPATH"/qcd_function
|
||||||
|
|
||||||
# Update self weekly
|
# Update self weekly
|
||||||
[[ -f "$TOOLSPATH"/.lastupdate ]] || touch -t 0101010101 "$TOOLSPATH"/.lastupdate
|
[[ -f "$TOOLSPATH"/.lastupdate ]] || touch -t 0101010101 "$TOOLSPATH"/.lastupdate 2>&1 > /dev/null
|
||||||
[[ -f "$TOOLSPATH"/.lastupdate ]] || return
|
[[ -f "$TOOLSPATH"/.lastupdate ]] || return
|
||||||
|
|
||||||
TOOLS_LASTUPDATE=$(( $( date +%s ) - $( stat -c %Y "$TOOLSPATH"/.lastupdate ) ))
|
TOOLS_LASTUPDATE=$(( $( date +%s ) - $( stat -c %Y "$TOOLSPATH"/.lastupdate ) ))
|
||||||
|
|||||||
Reference in New Issue
Block a user