Update .z* only once per day

This commit is contained in:
hjp 2001-10-29 23:37:21 +00:00
parent a2588cc8a0
commit ce045439f9
1 changed files with 6 additions and 1 deletions

View File

@ -5,5 +5,10 @@ then
fi fi
date date
uptime uptime
[ -n "$SSH_AUTH_SOCK" ] && cd ~/zdot && cvs update -d -P && make install [ -n "$SSH_AUTH_SOCK" ] &&
cd ~/zdot &&
[ -z "`find .ts -mtime -1 2>/dev/null`" ] &&
cvs update -d -P &&
make install &&
touch .ts
cd ~ cd ~