From 29da5e09bc84719c0857060ec209871346e1d521 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Fri, 3 May 2019 10:19:23 +0200 Subject: [PATCH] Silent apt --- tforgione.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tforgione.sh b/tforgione.sh index fc56c71..af1c468 100755 --- a/tforgione.sh +++ b/tforgione.sh @@ -56,7 +56,7 @@ yes_no_ask() { install() { test_command apt if [ $? -eq 0 ]; then - sudo apt install -y $1 + sudo apt install -yqq $1 return fi @@ -72,7 +72,7 @@ install() { install_python3() { test_command apt if [ $? -eq 0 ]; then - sudo apt install -y python3 python3-pip + sudo apt install -yqq python3 python3-pip return fi @@ -107,12 +107,12 @@ install_neovim() { test_command add-apt-repository if [ $? -ne 0 ]; then - sudo apt update && sudo apt install -y software-properties-common + sudo apt update -qq && sudo apt install -yqq software-properties-common fi sudo add-apt-repository -y ppa:neovim-ppa/stable - sudo apt update -y - sudo apt install -y neovim + sudo apt update -yqq + sudo apt install -yqq neovim return fi