calmer revamping of hello
[feisty_meow.git] / scripts / site_avenger / revamp_cakelampvm.sh
index 7d978cf4b1ec379d046d530a23537cfa772e7a34..25edca2ad69371d9c71e95d46742bb2be9149e24 100644 (file)
@@ -14,6 +14,7 @@ fi
 export WORKDIR="$( \cd "$(\dirname "$0")" && \pwd )"  # obtain the script's working directory.
 export FEISTY_MEOW_APEX="$( \cd "$WORKDIR/../.." && \pwd )"
 
+export NO_HELLO=right
 source "$FEISTY_MEOW_APEX/scripts/core/launch_feisty_meow.sh"
 
 ##############
@@ -55,9 +56,13 @@ test_or_die "group perms on feisty meow"
 #
 ##############
 
-# copy the most recent hello file into place for the user.
-\cp -f "$FEISTY_MEOW_APEX/production/sites/cakelampvm.com/hello.txt" "$HOME"
-test_or_continue "copying hello file for user"
+# only update hello if they've still got the file there.  we don't want to
+# keep forcing our hellos at people.
+if [ -f "$HOME/hello.txt" ]; then
+  # copy the most recent hello file into place for the user.
+  \cp -f "$FEISTY_MEOW_APEX/production/sites/cakelampvm.com/hello.txt" "$HOME"
+  test_or_continue "copying hello file for user"
+fi
 
 ##############
 
@@ -71,7 +76,11 @@ test_or_continue "copying hello file for user"
 
 regenerate
 
-echo "Thanks for revamping your cakelampvm.  :-)"
+echo "
+
+
+Thanks for revamping your cakelampvm.  :-)
+"
 
 ##############