Skip to content

Commit

Permalink
confirmation removal on update and install
Browse files Browse the repository at this point in the history
  • Loading branch information
kayofeld committed Dec 22, 2017
1 parent c4c7b7e commit cab40c0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions installation/install
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit cab40c0

Please sign in to comment.