mirror of https://github.com/pwndbg/pwndbg
Add support for AOSC OS (#2390)
This commit is contained in:
parent
bad16fab71
commit
d6505b9b8c
12
setup.sh
12
setup.sh
|
@ -61,6 +61,15 @@ install_emerge() {
|
|||
sudo emerge --oneshot --deep --newuse --changed-use --changed-deps dev-lang/python dev-debug/gdb
|
||||
}
|
||||
|
||||
install_oma() {
|
||||
sudo oma refresh || true
|
||||
sudo oma install -y gdb gdbserver python-3 glib make glibc-dbg curl
|
||||
|
||||
if uname -m | grep -q x86_64; then
|
||||
sudo oma install -y glibc+32-dbg || true
|
||||
fi
|
||||
}
|
||||
|
||||
install_pacman() {
|
||||
read -p "Do you want to do a full system update? (y/n) [n] " answer
|
||||
# user want to perform a full system upgrade
|
||||
|
@ -152,6 +161,9 @@ if linux; then
|
|||
"freebsd")
|
||||
install_freebsd
|
||||
;;
|
||||
"aosc")
|
||||
install_oma
|
||||
;;
|
||||
*) # we can add more install command for each distros.
|
||||
echo "\"$distro\" is not supported distro. Will search for 'apt', 'dnf' or 'pacman' package managers."
|
||||
if hash apt; then
|
||||
|
|
Loading…
Reference in New Issue