From 18276dc8c4c3a69d721b148d4f77a73adcd97f1c Mon Sep 17 00:00:00 2001 From: Anton Volnuhin Date: Tue, 30 May 2023 08:15:40 +0300 Subject: [PATCH] Fix arch --- run_onchange_before_install_main_deps.sh.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run_onchange_before_install_main_deps.sh.tmpl b/run_onchange_before_install_main_deps.sh.tmpl index ea9697f..5840cdf 100644 --- a/run_onchange_before_install_main_deps.sh.tmpl +++ b/run_onchange_before_install_main_deps.sh.tmpl @@ -21,7 +21,7 @@ $Green########################################################################## sudo apt update sudo apt upgrade -y -{{ else if eq .chezmoi.osRelease "arch" -}} +{{ else if eq .chezmoi.osRelease.id "arch" -}} sudo pacman -Syu --noconfirm {{ else if .chezmoi.os "darwin" -}} @@ -122,7 +122,7 @@ sleep 3 sudo dnf install neovim fish $ACT_PACKAGES -y nix-env -iA nixpkgs.atuin nixpkgs.jump -{{ else if eq .chezmoi.osRelease "arch" -}} +{{ else if eq .chezmoi.osRelease.id "arch" -}} sudo pacman -Sy --noconfirm neovim fish atuin $ACT_PACKAGES nix-env -iA nixpkgs.jump