From ce045439f932cae772ba8324c6ddd1830f7e77e0 Mon Sep 17 00:00:00 2001 From: hjp Date: Mon, 29 Oct 2001 23:37:21 +0000 Subject: [PATCH] Update .z* only once per day --- .zlogin | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.zlogin b/.zlogin index 856567c..c168e58 100644 --- a/.zlogin +++ b/.zlogin @@ -5,5 +5,10 @@ then fi date 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 ~