calmer revamping of hello
[feisty_meow.git] / scripts / site_avenger / revamp_cakelampvm.sh
index 2caafbabdbadb0cbbebfde785d5ca20efdef2856..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 "$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
 
 ##############
 
@@ -65,3 +70,18 @@ test_or_continue "copying hello file for user"
 # deploy the site updater here to fix the local cakelampvm.com site...
 
 
+##############
+
+# sequel--tell them they're great and show the hello again also.
+
+regenerate
+
+echo "
+
+
+Thanks for revamping your cakelampvm.  :-)
+"
+
+##############
+
+