fix order of vars

This commit is contained in:
Anton Volnuhin 2024-05-22 20:08:08 +03:00
parent df1d873bd7
commit a2ba545fcd

View File

@ -35,6 +35,17 @@ $Green""########################################################################
" "
read 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 () 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 print_block