aboutsummaryrefslogtreecommitdiff
path: root/bin/postinstall.sh
diff options
context:
space:
mode:
authorjakob.stendahl <jakob.stendahl@infomedia.dk>2022-12-24 15:11:13 +0100
committerJakob Stendahl <jakob.stendahl@outlook.com>2022-12-24 15:11:13 +0100
commitf30956a56f24d32235c6d6ba61380c804da0157b (patch)
tree78a425f3757319c3b0278362f10900279d75d1f9 /bin/postinstall.sh
parent4b2853d0a1c994602c6c62a047acee3c723c4e89 (diff)
downloadLuxcena-Neo-f30956a56f24d32235c6d6ba61380c804da0157b.tar.gz
Luxcena-Neo-f30956a56f24d32235c6d6ba61380c804da0157b.zip
Improve install scripts
Diffstat (limited to 'bin/postinstall.sh')
-rw-r--r--bin/postinstall.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/postinstall.sh b/bin/postinstall.sh
index 85a77e7..fa10db9 100644
--- a/bin/postinstall.sh
+++ b/bin/postinstall.sh
@@ -8,6 +8,7 @@ header "Create python virtualenv and install dependencies"
execCommand "rm -rf $CWD/NeoRuntime/Runtime/venv"
execCommand "pip3 install virtualenv"
execCommand "virtualenv -p /usr/bin/python3 \"$CWD/NeoRuntime/Runtime/venv\""
+execCommand "source \"$CWD/NeoRuntime/Runtime/venv/bin/activate\" && pip install websockets" 1
header "Attempting to install the rpi_ws281x library, if you want to actually control some leds you need this. Don't worry if not."
-execCommand "source \"$CWD/NeoRuntime/Runtime/venv/bin/activate\" && pip install rpi_ws281r" 1
+execCommand "source \"$CWD/NeoRuntime/Runtime/venv/bin/activate\" && pip install rpi_ws281x" 1