support for xbps install (#753)

pull/756/head
tabell 6 years ago committed by GitHub
parent f90db722a5
commit 609284cee2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save