support for rocky (=almalinux)
This commit is contained in:
parent
6b5a595d1d
commit
43a6d02efd
@ -91,7 +91,7 @@ pad() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
{{ if eq .chezmoi.osRelease.id "almalinux" -}}
|
{{ if eq .chezmoi.osRelease.id "almalinux" "rocky" -}}
|
||||||
echo -e "--> "$Blue$1$Blue"Installing prerequestative ncurses for this script's interface"$NC
|
echo -e "--> "$Blue$1$Blue"Installing prerequestative ncurses for this script's interface"$NC
|
||||||
sudo dnf install ncurses -y 2>&1|pad
|
sudo dnf install ncurses -y 2>&1|pad
|
||||||
|
|
||||||
@ -109,7 +109,7 @@ new_line "Update caches and upgrade packages"
|
|||||||
fi
|
fi
|
||||||
brew update 2>&1|pad
|
brew update 2>&1|pad
|
||||||
|
|
||||||
{{ else if eq .chezmoi.osRelease.id "fedora" "almalinux" -}}
|
{{ else if eq .chezmoi.osRelease.id "fedora" "almalinux" "rocky" -}}
|
||||||
sudo dnf update -y 2>&1|pad
|
sudo dnf update -y 2>&1|pad
|
||||||
|
|
||||||
{{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}}
|
{{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}}
|
||||||
@ -130,7 +130,7 @@ new_line "Install base packages"
|
|||||||
{{ else if eq .chezmoi.osRelease.id "fedora" -}}
|
{{ else if eq .chezmoi.osRelease.id "fedora" -}}
|
||||||
sudo dnf install $BASE_PACKAGES direnv kitty-terminfo util-linux-user python3-pipx -y 2>&1|pad
|
sudo dnf install $BASE_PACKAGES direnv kitty-terminfo util-linux-user python3-pipx -y 2>&1|pad
|
||||||
|
|
||||||
{{ else if eq .chezmoi.osRelease.id "almalinux" -}}
|
{{ else if eq .chezmoi.osRelease.id "almalinux" "rocky" -}}
|
||||||
sudo dnf install epel-release -y 2>&1|pad
|
sudo dnf install epel-release -y 2>&1|pad
|
||||||
sudo dnf install $BASE_PACKAGES kitty-terminfo which util-linux-user xz pipx -y 2>&1|pad
|
sudo dnf install $BASE_PACKAGES kitty-terminfo which util-linux-user xz pipx -y 2>&1|pad
|
||||||
|
|
||||||
@ -195,7 +195,7 @@ new_line "Install neovim, fish, atuin, jump and the rest"
|
|||||||
new_line "via NIX"
|
new_line "via NIX"
|
||||||
nix-env -iA nixpkgs.atuin nixpkgs.jump nixpkgs.du-dust nixpkgs.lazygit 2>&1|pad
|
nix-env -iA nixpkgs.atuin nixpkgs.jump nixpkgs.du-dust nixpkgs.lazygit 2>&1|pad
|
||||||
|
|
||||||
{{ else if eq .chezmoi.osRelease.id "almalinux" -}}
|
{{ else if eq .chezmoi.osRelease.id "almalinux" "rocky" -}}
|
||||||
sudo dnf install neovim fish $ACT_PACKAGES fd-find pam_ssh_agent_auth -y 2>&1|pad
|
sudo dnf install neovim fish $ACT_PACKAGES fd-find pam_ssh_agent_auth -y 2>&1|pad
|
||||||
new_line "via NIX"
|
new_line "via NIX"
|
||||||
nix-env -iA nixpkgs.fish nixpkgs.neovim nixpkgs.direnv nixpkgs.atuin nixpkgs.jump nixpkgs.du-dust nixpkgs.lazygit 2>&1|pad
|
nix-env -iA nixpkgs.fish nixpkgs.neovim nixpkgs.direnv nixpkgs.atuin nixpkgs.jump nixpkgs.du-dust nixpkgs.lazygit 2>&1|pad
|
||||||
|
Loading…
Reference in New Issue
Block a user