aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorLoek Le Blansch <32883851+lonkaars@users.noreply.github.com>2021-08-13 14:03:33 +0200
committerGitHub <noreply@github.com>2021-08-13 14:03:33 +0200
commitf1872e3b036e679d8e6b5f8e08c31da18caaa37a (patch)
treed5ff7c3656868780a4f29461eb3bbec535ec3cfa /install.sh
parentb8c9fc19e6e35679a1b9125396448987d7a6e8d0 (diff)
parent886630c94bd76b5bec9aa5b2eeb8a6da7d6a0cc2 (diff)
Merge pull request #1 from lonkaars/homeassistant
homebridge to homeassistant
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/install.sh b/install.sh
index a7923bc..55650be 100644
--- a/install.sh
+++ b/install.sh
@@ -1,7 +1,4 @@
#!/bin/sh
-
-npm run build
-
rm -rf venv
-npm run python
-sudo npm run perms
+python3 -m venv venv && venv/bin/pip3 install -r requirements.txt
+sudo setcap 'cap_net_raw,cap_net_admin+eip' venv/lib/python3.9/site-packages/bluepy/bluepy-helper