From 8f9632bead9a5293dd91c214035298a2d7c64d4f Mon Sep 17 00:00:00 2001 From: Michael Rodler Date: Thu, 18 Feb 2016 17:15:44 +0100 Subject: [PATCH] added -y switches to uninstall --- binjitsu/uninstall | 2 +- foresight/uninstall | 2 +- mitmproxy/uninstall | 2 +- pwntools/uninstall | 2 +- xortool/install | 8 +------- xortool/uninstall | 2 +- 6 files changed, 6 insertions(+), 12 deletions(-) diff --git a/binjitsu/uninstall b/binjitsu/uninstall index f54f29d..81cc9b9 100755 --- a/binjitsu/uninstall +++ b/binjitsu/uninstall @@ -1,3 +1,3 @@ #!/bin/bash -e -ctf-tools-pip uninstall binjitsu +ctf-tools-pip uninstall -y binjitsu || true diff --git a/foresight/uninstall b/foresight/uninstall index a558926..2849572 100755 --- a/foresight/uninstall +++ b/foresight/uninstall @@ -1,3 +1,3 @@ #!/bin/bash -e -ctf-tools-pip3 uninstall foresight || true +ctf-tools-pip3 uninstall -y foresight || true diff --git a/mitmproxy/uninstall b/mitmproxy/uninstall index 22f45db..3ca4c72 100755 --- a/mitmproxy/uninstall +++ b/mitmproxy/uninstall @@ -1,3 +1,3 @@ #!/bin/bash -e -ctf-tools-pip uninstall mitmproxy || true +ctf-tools-pip uninstall -y mitmproxy || true diff --git a/pwntools/uninstall b/pwntools/uninstall index 0bd6a4b..a54b1fd 100755 --- a/pwntools/uninstall +++ b/pwntools/uninstall @@ -1,3 +1,3 @@ #!/bin/bash -e -ctf-tools-pip uninstall pwntools || true +ctf-tools-pip uninstall -y pwntools || true diff --git a/xortool/install b/xortool/install index d1c992d..d7f733c 100755 --- a/xortool/install +++ b/xortool/install @@ -1,9 +1,3 @@ #!/bin/bash -e -git clone --depth 1 https://github.com/hellman/xortool.git -pip install -e ./xortool - -mkdir -p bin -cd bin -ln -s ../xortool/xortool/{xortool,xortool-xor} . -cd .. +ctf-tools-pip install --upgrade 'git+https://github.com/hellman/xortool.git' diff --git a/xortool/uninstall b/xortool/uninstall index 799175e..fae39d7 100755 --- a/xortool/uninstall +++ b/xortool/uninstall @@ -1,3 +1,3 @@ #!/bin/bash -e -pip uninstall -y xortool +ctf-tools-pip uninstall -y xortool || true