From: tfheen Date: Fri, 13 Feb 2004 01:51:49 +0000 (+0000) Subject: blog remotely as well X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f87d6016a2003907ad1c1348879f546b842ebb7;p=dotfiles blog remotely as well git-svn-id: file:///svn/tfheen/trunk/dotfiles@365 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- 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