X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsite_avenger%2Frevamp_cakelampvm.sh;h=d024cd10922782e072c9570d7dbb535fc4e66a77;hb=3d0aa2a3d1c91490f83148d66e0078807b46944a;hp=607752f9b0616b298aef15a3f50da723ac21db16;hpb=b78c85af9d9699c507e2047c34c14f9ec3254fbb;p=feisty_meow.git diff --git a/scripts/site_avenger/revamp_cakelampvm.sh b/scripts/site_avenger/revamp_cakelampvm.sh index 607752f9..d024cd10 100644 --- a/scripts/site_avenger/revamp_cakelampvm.sh +++ b/scripts/site_avenger/revamp_cakelampvm.sh @@ -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,13 +56,47 @@ 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... +############## + +# sequel--tell them they're great and show the hello again also. + +regenerate + +echo " + + +Thanks for revamping your cakelampvm. :-) +" + +############## + +