From 2edc085210c752a9dc778934b92d611b92a4079d Mon Sep 17 00:00:00 2001 From: Anton Volnuhin Date: Tue, 30 May 2023 10:31:44 +0300 Subject: [PATCH] gcc and debian confdef --- 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 63b0090..8025560 100644 --- a/run_onchange_before_install_main_deps.sh.tmpl +++ b/run_onchange_before_install_main_deps.sh.tmpl @@ -1,5 +1,5 @@ #!/usr/bin/env bash -BASE_PACKAGES="gpg curl wget git" +BASE_PACKAGES="gpg curl wget git gcc" ACT_PACKAGES="ripgrep fd-find unzip htop fzf bat gawk" USER=$(whoami) Green='\033[0;32m' # Green @@ -26,7 +26,7 @@ $Green########################################################################## {{ else if eq .chezmoi.osRelease.id "debian" "ubuntu" -}} sudo apt-get update - sudo DEBIAN_FRONTEND=noninteractive apt-get -o "Dpkg::Options::=--force-confold" upgrade -y --allow-downgrades --allow-remove-essential --allow-change-held-packages + 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 {{ else if eq .chezmoi.osRelease.id "arch" -}} sudo pacman -Syu --noconfirm