From 05af0e4e68d49e03e42fd73a43f2c787d07fef42 Mon Sep 17 00:00:00 2001 From: hjp Date: Mon, 27 Aug 2001 19:25:10 +0000 Subject: [PATCH] Do cvs update only if we have an ssh-agent running (I don't want to enter a password for that). --- .zlogin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zlogin b/.zlogin index 6053240..856567c 100644 --- a/.zlogin +++ b/.zlogin @@ -5,5 +5,5 @@ then fi date uptime -cd ~/zdot && cvs update -d -P && make install +[ -n "$SSH_AUTH_SOCK" ] && cd ~/zdot && cvs update -d -P && make install cd ~