diff --git a/run_onchange_after_install_main_deps.sh.tmpl b/run_onchange_after_install_main_deps.sh.tmpl index 49e2b9f..2cafffb 100644 --- a/run_onchange_after_install_main_deps.sh.tmpl +++ b/run_onchange_after_install_main_deps.sh.tmpl @@ -35,6 +35,17 @@ $Green""######################################################################## " read +{{ if eq .chezmoi.osRelease.id "almalinux" -}} + echo "Installing prerequestative ncurses for this script's interface"|pad + sudo dnf install ncurses -y 2>&1|pad +{{ end -}} + + +#Setup +TERM_WIDTH_BASE=$(tput cols) +LINES=$(tput lines) +USER=$(whoami) +STEP=1 get_line () { @@ -85,17 +96,6 @@ pad() { } -{{ if eq .chezmoi.osRelease.id "almalinux" -}} - echo "Installing prerequestative ncurses for this script's interface"|pad - sudo dnf install ncurses -y 2>&1|pad -{{ end -}} - - -#Setup -TERM_WIDTH_BASE=$(tput cols) -LINES=$(tput lines) -USER=$(whoami) -STEP=1 print_block