Skip to content

Commit

Permalink
Added suppor fot opensuse (#734)
Browse files Browse the repository at this point in the history
  • Loading branch information
bigben93 committed Mar 28, 2020
1 parent 0cdcd6f commit 3cf9b31
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ install_swupd() {
sudo swupd bundle-add gdb python3-basic make c-basic
}

install_zypper() {
sudo zypper refresh || true
sudo zypper install -y gdb gdbserver python-devel python3-devel python2-pip python3-pip glib2-devel make glibc-debuginfo

if uname -m | grep x86_64 > /dev/null; then
sudo zypper install -y glibc-32bit-debuginfo || true
fi
}

PYTHON=''
INSTALLFLAGS=''

Expand All @@ -57,9 +66,12 @@ if linux; then
"fedora")
install_dnf
;;
"clear-linux-os")
install_swupd
;;
"clear-linux-os")
install_swupd
;;
"opensuse-leap")
install_zypper
;;
"arch")
echo "Install Arch linux using a community package. See:"
echo " - https://www.archlinux.org/packages/community/any/pwndbg/"
Expand Down

0 comments on commit 3cf9b31

Please sign in to comment.