From cab40c04389a4dfc4a6c95426931202337a0dd85 Mon Sep 17 00:00:00 2001 From: Paul Montague Date: Sat, 23 Dec 2017 00:35:57 +0100 Subject: [PATCH] confirmation removal on update and install --- installation/install | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/installation/install b/installation/install index ef5e3ba..79e7858 100755 --- a/installation/install +++ b/installation/install @@ -116,16 +116,16 @@ function sys_upgrade fi case "$os" in opensuse) - sudo zypper update + sudo zypper -y update ;; archlinux) - sudo pacman -Syu + sudo pacman --noconfirm -Syu ;; fedora) - sudo dnf update + sudo dnf -y update ;; debian) - sudo apt-get update; sudo apt-get upgrade + sudo apt-get -y update; sudo apt-get -y upgrade ;; gentoo) sudo emerge -u world @@ -142,16 +142,16 @@ function sys_install { case "$os" in opensuse) - echo "zypper install" + echo "zypper -y install" ;; archlinux) - echo "pacman -S" + echo "pacman --noconfirm -S" ;; fedora) - echo "dnf install" + echo "dnf -y install" ;; debian) - echo "apt-get install" + echo "apt-get -y install" ;; gentoo) echo "emerge"