From f2e7140426875e67163028fc89e7c035fa310263 Mon Sep 17 00:00:00 2001 From: Anton Volnuhin Date: Wed, 22 May 2024 00:59:19 +0300 Subject: [PATCH] less steps and almalinux support --- run_onchange_after_install_main_deps.sh.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/run_onchange_after_install_main_deps.sh.tmpl b/run_onchange_after_install_main_deps.sh.tmpl index 0a12437..feef120 100644 --- a/run_onchange_after_install_main_deps.sh.tmpl +++ b/run_onchange_after_install_main_deps.sh.tmpl @@ -1,6 +1,6 @@ #!/usr/bin/env bash #Config -STEPS=16 +STEPS=15 PAD_LEN=4 BASE_PACKAGES="gnupg curl wget git direnv" @@ -100,7 +100,7 @@ new_line "Update caches and upgrade packages" fi brew update 2>&1|pad -{{ else if eq .chezmoi.osRelease.id "fedora" -}} +{{ else if eq .chezmoi.osRelease.id "fedora" "almalinux" -}} sudo dnf update -y 2>&1|pad {{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}} @@ -118,7 +118,7 @@ new_line "Install base packages" {{ if eq .chezmoi.os "darwin" -}} brew install -q $BASE_PACKAGES python pipx 2>&1|pad -{{ else if eq .chezmoi.osRelease.id "fedora" -}} +{{ else if eq .chezmoi.osRelease.id "fedora" "almalinux" -}} sudo dnf install $BASE_PACKAGES kitty-terminfo util-linux-user python3-pipx -y 2>&1|pad {{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}} @@ -177,7 +177,7 @@ new_line "Install neovim, fish, atuin, jump and the rest" {{ if eq .chezmoi.os "darwin" -}} brew install -q fish neovim $ACT_PACKAGES atuin jump fd sk dust lazygit 2>&1|pad -{{ else if eq .chezmoi.osRelease.id "fedora" -}} +{{ else if eq .chezmoi.osRelease.id "fedora" "almalinux" -}} sudo dnf install neovim fish $ACT_PACKAGES fd-find skim pam_ssh_agent_auth -y 2>&1|pad new_line "via NIX" nix-env -iA nixpkgs.atuin nixpkgs.jump nixpkgs.du-dust nixpkgs.lazygit 2>&1|pad