From 9f87d6016a2003907ad1c1348879f546b842ebb7 Mon Sep 17 00:00:00 2001 From: tfheen Date: Fri, 13 Feb 2004 01:51:49 +0000 Subject: [PATCH] blog remotely as well git-svn-id: file:///svn/tfheen/trunk/dotfiles@365 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- environment | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/environment b/environment index a7d2468..170323d 100644 --- a/environment +++ b/environment @@ -12,8 +12,8 @@ fi blog () { pushd $(pwd) - if [ "$HOSTNAME" != "vawad.raw.no" ]; then - echo "You are not on vawad!" + if [ ! -d "$HOME/blog" ]; then + echo "You don't have your blog checked out here. Can't blog." return 1 fi if [ "$1" ]; then -- 2.39.5