Add support for arch linux

This commit is contained in:
2020-12-08 22:00:44 +01:00
parent 9d7c0d2428
commit 1f0ea0e7be
5 changed files with 273 additions and 20 deletions

View File

@@ -24,6 +24,8 @@ _install() {
sudo dnf install --assumeyes "${_package}"
elif [[ $NAME == "Ubuntu" ]] ; then
sudo apt-get install --assume-yes "${_package}"
elif [[ $NAME == "Arch Linux" ]] ; then
sudo pacman -S --noconfirm "${_package}"
else
2>&1 printf "Unsupported distro $NAME, exiting"
exit 1