X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsite_avenger%2Frevamp_cakelampvm.sh;h=d024cd10922782e072c9570d7dbb535fc4e66a77;hb=883c7d98dd2fdead2cf1e0c945f293419d40e003;hp=dcc32be5eabd1647aec64f14bad98e670fb5ade7;hpb=76134243c508eddabd496200bd142b2511141622;p=feisty_meow.git diff --git a/scripts/site_avenger/revamp_cakelampvm.sh b/scripts/site_avenger/revamp_cakelampvm.sh index dcc32be5..d024cd10 100644 --- a/scripts/site_avenger/revamp_cakelampvm.sh +++ b/scripts/site_avenger/revamp_cakelampvm.sh @@ -56,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...