mirror of https://github.com/pwndbg/pwndbg
pacman: only install not-installed deps (#1845)
Signed-off-by: Xeonacid <h.dwwwwww@gmail.com>
This commit is contained in:
parent
2e11b79797
commit
4fdd72e4f6
|
@ -125,7 +125,7 @@ Include = /etc/pacman.d/mirrorlist
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
sudo pacman -Syu --noconfirm || true
|
sudo pacman -Syu --noconfirm || true
|
||||||
sudo pacman -S --noconfirm \
|
sudo pacman -S --needed --noconfirm \
|
||||||
nasm \
|
nasm \
|
||||||
gcc \
|
gcc \
|
||||||
glibc-debug \
|
glibc-debug \
|
||||||
|
|
2
setup.sh
2
setup.sh
|
@ -62,7 +62,7 @@ install_emerge() {
|
||||||
|
|
||||||
install_pacman() {
|
install_pacman() {
|
||||||
sudo pacman -Syy --noconfirm || true
|
sudo pacman -Syy --noconfirm || true
|
||||||
sudo pacman -S --noconfirm git gdb python python-pip python-capstone python-unicorn python-pycparser python-psutil python-ptrace python-pyelftools python-six python-pygments which debuginfod
|
sudo pacman -S --needed --noconfirm git gdb python python-pip python-capstone python-unicorn python-pycparser python-psutil python-ptrace python-pyelftools python-six python-pygments which debuginfod
|
||||||
if ! grep -q "^set debuginfod enabled on" ~/.gdbinit; then
|
if ! grep -q "^set debuginfod enabled on" ~/.gdbinit; then
|
||||||
echo "set debuginfod enabled on" >> ~/.gdbinit
|
echo "set debuginfod enabled on" >> ~/.gdbinit
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue