Auto select in arch / debian

This commit is contained in:
Ceda EI 2019-06-01 16:20:37 +05:30
parent de6cf85f6b
commit 9666426d50
1 changed files with 2 additions and 2 deletions

View File

@ -15,11 +15,11 @@ function install_package() {
fi
case $package_manager in
pacman)
sudo pacman -S $*
sudo pacman -S --noconfirm $*
return $?
;;
apt-get)
sudo apt-get install $*
sudo apt-get install -y $*
return $?
;;
apk)