diff --git a/run_onchange_before_install_main_deps.sh.tmpl b/run_onchange_before_install_main_deps.sh.tmpl index 5840cdf..adfd412 100644 --- a/run_onchange_before_install_main_deps.sh.tmpl +++ b/run_onchange_before_install_main_deps.sh.tmpl @@ -19,7 +19,7 @@ $Green########################################################################## {{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}} sudo apt update - sudo apt upgrade -y + DEBIAN_FRONTEND=noninteractive sudo apt upgrade -y {{ else if eq .chezmoi.osRelease.id "arch" -}} sudo pacman -Syu --noconfirm @@ -120,15 +120,15 @@ sleep 3 {{ if eq .chezmoi.osRelease.id "fedora" -}} sudo dnf install neovim fish $ACT_PACKAGES -y - nix-env -iA nixpkgs.atuin nixpkgs.jump + bash -c "nix-env -iA nixpkgs.atuin nixpkgs.jump" {{ else if eq .chezmoi.osRelease.id "arch" -}} sudo pacman -Sy --noconfirm neovim fish atuin $ACT_PACKAGES - nix-env -iA nixpkgs.jump + bash -c "nix-env -iA nixpkgs.jump" {{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}} sudo apt install fish $ACT_PACKAGES -y - nix-env -iA nixpkgs.neovim nixpkgs.jump + bash -c "nix-env -iA nixpkgs.neovim nixpkgs.jump" if ! fish -c atuin &>/dev/null then bash <(curl https://raw.githubusercontent.com/ellie/atuin/main/install.sh)