commit 22feba16a4b98a2de7510c93b309ef3d9c526e5b parent 098429d139364df152131f2e83f08e11fe9c7a14 Author: finwo <finwo@pm.me> Date: Thu, 10 Jan 2019 15:31:08 +0100 Added voidlinux support during install.sh Diffstat:
| M | install.sh | | | 11 | +++++++---- |
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/install.sh b/install.sh @@ -13,15 +13,18 @@ echo " \\_/ dependency manager" echo "==\"==" function install { - case "$(command -v apt apt-get apk | head -1)" in + case "$(command -v apt apt-get apk xbps-install | head -1)" in apt) - sudo apt install "$1" -y -qq + apt install "$1" -y -qq ;; apt-get) - sudo apt-get install "$1" -y -qq + apt-get install "$1" -y -qq ;; apk) - sudo apk add "$1" -y -qq + apk add "$1" -y -qq + ;; + xbps-install) + xbps-install "$1" ;; *) echo "No supported package manager detected"