From 609284cee279de345dcb0706e11a0b56abe349f4 Mon Sep 17 00:00:00 2001 From: tabell Date: Sun, 10 May 2020 12:23:59 -0700 Subject: [PATCH] support for xbps install (#753) --- setup.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/setup.sh b/setup.sh index c8a79f42e..9665b092b 100755 --- a/setup.sh +++ b/setup.sh @@ -35,6 +35,12 @@ install_dnf() { sudo dnf -y debuginfo-install glibc } +install_xbps() { + sudo xbps-install -Su + sudo xbps-install -Sy gdb gcc python-devel python3-devel python-pip python3-pip glibc-devel make + sudo xbps-install -Sy glibc-dbg +} + install_swupd() { sudo swupd update || true sudo swupd bundle-add gdb python3-basic make c-basic @@ -87,6 +93,9 @@ if linux; then echo " - https://aur.archlinux.org/packages/pwndbg-git/" exit 1 ;; + "void") + install_xbps + ;; *) # we can add more install command for each distros. echo "\"$distro\" is not supported distro. Will search for 'apt' or 'dnf' package managers." if hash apt; then