From 6560a100651e2f444f9a8b1f45043be6ab886583 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Mon, 11 Nov 2024 20:17:39 -0500 Subject: [PATCH] adding some standard flavor bits for prep host needed cowsay and lolcat, pretty sure. --- scripts/core/prep_feisty_host.sh | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/scripts/core/prep_feisty_host.sh b/scripts/core/prep_feisty_host.sh index bfed826e..4ee75d84 100644 --- a/scripts/core/prep_feisty_host.sh +++ b/scripts/core/prep_feisty_host.sh @@ -158,15 +158,9 @@ popd &> /dev/null #bash $FEISTY_MEOW_APEX/scripts/core/is_feisty_up.sh #exit_on_error $PHASE_MESSAGE -# standard load-up. -#hmmm: this will currently fail if reconfigure has never been called. -#NO NO NO. source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" -# we are preparing to get feisty running; how can we use feisty during -# that process? so bad. - #### -# figure out which kind of OS we're on first, from ground up by seeing +# figure out which kind of OS we're on first, from ground up, by seeing # how this system can install things. opsystem_here=unknown @@ -251,6 +245,28 @@ exit_on_error $PHASE_MESSAGE #### +# install feisty meow flavor bits... + +PHASE_MESSAGE="installing flavor bits" + +if [ "$opsystem_here" == "debianesque" ]; then + PAX=(cowsay lolcat meld ) +elif [ "$opsystem_here" == "redhatty" ]; then + PAX=(cowsay lolcat meld ) + #hmmm: untested! +elif [ "$opsystem_here" == "macos" ]; then + PAX=(cowsay lolcat meld ) + #hmmm: untested! +elif [ "$opsystem_here" == "windoze" ]; then + PAX=(cowsay lolcat meld ) + #hmmm: untested! +fi + +install_system_package "${PAX[@]}" +exit_on_error $PHASE_MESSAGE + +#### + # get ready to finish up. #...finishing steps... if any. -- 2.34.1