Auto select in arch / debian
This commit is contained in:
parent
de6cf85f6b
commit
9666426d50
|
@ -15,11 +15,11 @@ function install_package() {
|
||||||
fi
|
fi
|
||||||
case $package_manager in
|
case $package_manager in
|
||||||
pacman)
|
pacman)
|
||||||
sudo pacman -S $*
|
sudo pacman -S --noconfirm $*
|
||||||
return $?
|
return $?
|
||||||
;;
|
;;
|
||||||
apt-get)
|
apt-get)
|
||||||
sudo apt-get install $*
|
sudo apt-get install -y $*
|
||||||
return $?
|
return $?
|
||||||
;;
|
;;
|
||||||
apk)
|
apk)
|
||||||
|
|
Loading…
Reference in New Issue