fixes for almalinux: ncurses at start, xz for nix

This commit is contained in:
Anton Volnuhin 2024-05-22 20:01:56 +03:00
parent 2ca2c7ae15
commit 3755c47b90

View File

@ -90,6 +90,10 @@ pad() {
}
{{ if eq .chezmoi.osRelease.id "almalinux" -}}
echo "Installing prerequestative ncurses for this script's interface"|pad
sudo dnf install ncurses
{{ end -}}
print_block
new_line "Update caches and upgrade packages"
@ -123,7 +127,7 @@ new_line "Install base packages"
{{ else if eq .chezmoi.osRelease.id "almalinux" -}}
sudo dnf install epel-release -y 2>&1|pad
sudo dnf install $BASE_PACKAGES kitty-terminfo util-linux-user pipx -y 2>&1|pad
sudo dnf install $BASE_PACKAGES kitty-terminfo util-linux-user xz pipx -y 2>&1|pad
{{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}}
sudo apt-get install $BASE_PACKAGES kitty-terminfo direnv pipx python3-venv -y 2>&1|pad