summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-10-06 21:38:48 +0200
committerKali Kaneko <kali@leap.se>2017-10-06 21:39:52 +0200
commitbde0d1daa914b2ec5054ee2a71d783bed767b39c (patch)
treea3e13f4317a7a0f5cba020240975f0a451bb59a9 /pkg
parentef1f444a740b1d552c8b1d1b53c5d9e46f854ed0 (diff)
[pkg] add some missing dependencies to bootstrap script
Diffstat (limited to 'pkg')
-rwxr-xr-xpkg/tools/bitmask-bootstrap.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkg/tools/bitmask-bootstrap.sh b/pkg/tools/bitmask-bootstrap.sh
index 3f494ccf..a2cb45fe 100755
--- a/pkg/tools/bitmask-bootstrap.sh
+++ b/pkg/tools/bitmask-bootstrap.sh
@@ -5,7 +5,7 @@
set -e
-APT_DEPS="build-essential python-dev python-virtualenv libsqlcipher-dev libssl1.0-dev libffi-dev haveged python-pyqt5 python-pyqt5.qtwebkit"
+APT_DEPS="build-essential python-pip python-dev python-virtualenv libsqlcipher-dev libssl1.0-dev libffi-dev haveged python-pyqt5 python-pyqt5.qtwebkit gnupg1 openvpn"
function add_pew_to_environment()
{
@@ -19,6 +19,11 @@ function add_pew_to_environment()
done
}
+function apt_install()
+{
+ sudo apt install $APT_DEPS
+}
+
function init_pew()
{
which pew || pip install pew
@@ -28,11 +33,6 @@ function init_pew()
pew ls | grep bitmask || echo '[+] bitmask boostrap: creating new bitmask virtualenv. Type "exit" in the shell to continue!' && pew new bitmask
}
-function apt_install()
-{
- sudo apt install $APT_DEPS
-}
-
function clone_repo()
{
mkdir -p ~/leap/ && cd ~/leap
@@ -46,8 +46,8 @@ function install_deps()
cd ~/leap/bitmask-dev && pew in bitmask make dev-all
}
-init_pew
apt_install
+init_pew
clone_repo
install_deps
pew workon bitmask