Removed interactive prompt in dpkg

pull/5/head
Tiago Faria 2018-09-07 15:44:33 +01:00 committed by GitHub
parent 8946704da9
commit 5dc93b45e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -58,7 +58,9 @@ EOF
echo "--- Upgrading base system and autoremoving packages ---"
sudo apt -qq update > /dev/null 2>&1
sudo apt upgrade -y # > /dev/null 2>&1 # is this working! fucking apt!
# Prevent dialog of dpkg for config overwrite
sudo DEBIAN_FRONTEND=noninteractive apt -yq upgrade > /dev/null 2>&1
# Clean up
sudo apt -y autoremove > /dev/null 2>&1
echo "--- Install base packages ---"