gcc and debian confdef

This commit is contained in:
Anton Volnuhin 2023-05-30 10:31:44 +03:00
parent 73b0c979a6
commit 2edc085210

View File

@ -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