Merge branch 'release-2.140.100'
[feisty_meow.git] / scripts / site_avenger / revamp_cakelampvm.sh
index 7d978cf4b1ec379d046d530a23537cfa772e7a34..d024cd10922782e072c9570d7dbb535fc4e66a77 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,12 +56,31 @@ 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
+
+##############
+
+# install a better editor app.
+
+echo "
+The script is about to install the bluefish editor and some dependencies.
+If the app is not already installed, then this process takes only about a
+minute on a slower home DSL internet connection...
+
+"
+
+apt-get install -y bluefish &> "/tmp/install_bluefish-$(logname).log"
+test_or_continue "failed to install bluefish editor.  not good."
 
 ##############
 
+
 #hmmm: todo
 # deploy the site updater here to fix the local cakelampvm.com site...
 
@@ -71,7 +91,11 @@ test_or_continue "copying hello file for user"
 
 regenerate
 
-echo "Thanks for revamping your cakelampvm.  :-)"
+echo "
+
+
+Thanks for revamping your cakelampvm.  :-)
+"
 
 ##############