From: Chris Koeritz Date: Tue, 12 Nov 2024 01:17:39 +0000 (-0500) Subject: adding some standard flavor bits for prep host X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=6560a100651e2f444f9a8b1f45043be6ab886583;p=feisty_meow.git adding some standard flavor bits for prep host needed cowsay and lolcat, pretty sure. --- 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.