archarm support

This commit is contained in:
Anton Volnuhin 2024-05-21 18:50:50 +03:00
parent bfe866b00b
commit 1c2a5d7e3c

View File

@ -119,7 +119,7 @@ new_line "Update caches and upgrade packages"
sudo apt-get update 2>&1|pad
sudo DEBIAN_FRONTEND=noninteractive apt-get -o "Dpkg::Options::=--force-confold" -o "Dpkg::Options::=--force-confdef" upgrade -y --allow-downgrades --allow-remove-essential --allow-change-held-packages 2>&1|pad
{{ else if eq .chezmoi.osRelease.id "arch" -}}
{{ else if eq .chezmoi.osRelease.id "arch" "archarm" -}}
sudo pacman -Syu --noconfirm 2>&1|pad
{{ end -}}
@ -137,7 +137,7 @@ new_line "Install base packages"
sudo apt-get install $BASE_PACKAGES kitty-terminfo direnv python3-pip python3-venv -y 2>&1|pad
sudo apt-get install software-properties-common -y 2>&1|pad
{{ else if eq .chezmoi.osRelease.id "arch" -}}
{{ else if eq .chezmoi.osRelease.id "arch" "archarm" -}}
sudo pacman -Sy --noconfirm $BASE_PACKAGES kitty-terminfo python3-pip 2>&1|pad
{{ end -}}
@ -195,7 +195,7 @@ new_line "via DNF"
new_line "via NIX"
nix-env -iA nixpkgs.atuin nixpkgs.jump nixpkgs.du-dust nixpkgs.lazygit 2>&1|pad
{{ else if eq .chezmoi.osRelease.id "arch" -}}
{{ else if eq .chezmoi.osRelease.id "arch" "archarm" -}}
new_line "via Pacman"
sudo pacman -Sy --noconfirm neovim fish atuin $ACT_PACKAGES fd skim lazygit 2>&1|pad
new_line "via NIX"