]> err.no Git - dotfiles/commitdiff
blog remotely as well
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Fri, 13 Feb 2004 01:51:49 +0000 (01:51 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Fri, 13 Feb 2004 01:51:49 +0000 (01:51 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@365 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

environment

index a7d2468c5d44f7af11f911dfae6ad2537bca9dc2..170323d6a8e4ce7aaa0d5867d0f0f9315ccaa2bf 100644 (file)
@@ -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