1
0
Fork 0

unix-setup: fix syntax issue in "apt.conf"

This commit is contained in:
Pratham Patel 2024-03-27 10:21:56 +05:30
parent d87ae5cff6
commit 0f0eb3bd75
Signed by: thefossguy
SSH Key Fingerprint: SHA256:/B3wAg7jnMEBQ2JwkebbS/eXVZANDmqRfnd9QkIhxMI
1 changed files with 5 additions and 1 deletions

View File

@ -87,9 +87,13 @@ function install_pkgs_debian() {
git
vim
wget
gcc-
)
sudo apt-get update
echo 'APT::Install-Suggests "0"' | sudo tee "${EXTRA_APT_CONF}"
cat << EOF | sudo tee "${EXTRA_APT_CONF}"
APT::Install-Recommends "0";
APT::Install-Suggests "0";
EOF
sudo apt-get install --assume-yes --no-install-recommends "${PKGS_TO_INSTALL[@]}"
sudo rm "${EXTRA_APT_CONF}"
sudo apt-get upgrade --assume-yes