fix binwalk install script, add uninstall script, fixes #135

This commit is contained in:
Michael Rodler 2017-08-18 17:20:06 +02:00 committed by Yan
parent aa8c464dda
commit d62247af0e
2 changed files with 4 additions and 0 deletions

View file

@ -3,5 +3,6 @@
git clone --depth 1 https://github.com/devttys0/binwalk.git git clone --depth 1 https://github.com/devttys0/binwalk.git
ctf-tools-pip install -e binwalk ctf-tools-pip install -e binwalk
source ctf-tools-venv-activate
mkdir -p bin mkdir -p bin
ln -s $VIRTUAL_ENV/bin/binwalk bin ln -s $VIRTUAL_ENV/bin/binwalk bin

3
binwalk/uninstall Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash -ex
ctf-tools-pip uninstall -y binwalk || true