From: Chris Koeritz Date: Wed, 15 Nov 2017 02:21:56 +0000 (-0500) Subject: calmer revamping of hello X-Git-Tag: 2.140.100^2~12^2~1 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=9a800bab09cbf2261adee206be753d8551e868e3;p=feisty_meow.git calmer revamping of hello --- diff --git a/scripts/site_avenger/revamp_cakelampvm.sh b/scripts/site_avenger/revamp_cakelampvm.sh index dcc32be5..25edca2a 100644 --- a/scripts/site_avenger/revamp_cakelampvm.sh +++ b/scripts/site_avenger/revamp_cakelampvm.sh @@ -56,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 ##############