mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-04 18:29:26 +00:00
Do not use pwntools binutils ppa on xenial and later
This commit is contained in:
parent
e7b9d9273d
commit
770028c136
1 changed files with 9 additions and 4 deletions
|
@ -1,6 +1,11 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
apt-get -y install software-properties-common
|
||||
apt-add-repository -y ppa:pwntools/binutils
|
||||
apt-get update
|
||||
apt-get -y install binutils-.*-linux-gnu libffi-dev libssl-dev
|
||||
apt-get install -y python2.7 python-pip python-dev git libssl-dev libffi-dev build-essential
|
||||
|
||||
if [[ $(lsb_release -rs | sed 's/\(..\)\.../\1/') -lt 16 ]]; then
|
||||
echo "using pwntools binutils ppa for pre-xenial ubuntu"
|
||||
apt-get -y install software-properties-common
|
||||
apt-add-repository -y ppa:pwntools/binutils
|
||||
apt-get update
|
||||
apt-get -y install binutils-.*-linux-gnu
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue