diff --git a/webgrep/install b/webgrep/install index 2a52ffd..1b14d29 100755 --- a/webgrep/install +++ b/webgrep/install @@ -1,4 +1,7 @@ #!/bin/bash -ex - ctf-tools-pip3 install --upgrade 'git+https://github.com/dhondta/webgrep.git' + +source ctf-tools-venv-activate3 +mkdir -p bin +ln -s $VIRTUAL_ENV/bin/webgrep bin diff --git a/webgrep/uninstall b/webgrep/uninstall new file mode 100644 index 0000000..bb4b76e --- /dev/null +++ b/webgrep/uninstall @@ -0,0 +1,3 @@ +#!/bin/bash -ex + +ctf-tools-pip3 uninstall -y webgrep-tool || true