From 6cf1d033d2821f4d29274bbb284356bcc6146154 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Fri, 6 Oct 2017 22:31:33 +0200 Subject: [pkg] prevent bootstrap script from hanging --- pkg/tools/bitmask-bootstrap.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'pkg/tools/bitmask-bootstrap.sh') diff --git a/pkg/tools/bitmask-bootstrap.sh b/pkg/tools/bitmask-bootstrap.sh index a2cb45f..6a4578a 100755 --- a/pkg/tools/bitmask-bootstrap.sh +++ b/pkg/tools/bitmask-bootstrap.sh @@ -22,15 +22,12 @@ function add_pew_to_environment() function apt_install() { sudo apt install $APT_DEPS + sudo pip install pew } function init_pew() { - which pew || pip install pew - which pew || add_pew_to_environment - PATH=~/.local/bin:$PATH - # this hangs when creating for the first time - pew ls | grep bitmask || echo '[+] bitmask boostrap: creating new bitmask virtualenv. Type "exit" in the shell to continue!' && pew new bitmask + pew ls | grep bitmask || echo '[+] creating new bitmask virtualenv...' && pew new -d bitmask } function clone_repo() -- cgit v1.2.3