Silent apt
This commit is contained in:
parent
7eda331b57
commit
29da5e09bc
10
tforgione.sh
10
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue