diff options
author | Jakob Stendahl <14180120+JakobST1n@users.noreply.github.com> | 2021-10-11 17:52:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-11 17:52:02 +0200 |
commit | c1b6eec770b885a9829e1f62bad5cc99389ca429 (patch) | |
tree | 846e59a020e80bea48557d5a06af5728e44961ff /bin/luxcena-neo-cli.sh | |
parent | 9d8ab6ccd04530188caf9a24467e7374bc3c68cf (diff) | |
download | Luxcena-Neo-c1b6eec770b885a9829e1f62bad5cc99389ca429.tar.gz Luxcena-Neo-c1b6eec770b885a9829e1f62bad5cc99389ca429.zip |
:hammer: Remove userland script
Diffstat (limited to 'bin/luxcena-neo-cli.sh')
-rwxr-xr-x | bin/luxcena-neo-cli.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/bin/luxcena-neo-cli.sh b/bin/luxcena-neo-cli.sh index 483b273..4bc70cd 100755 --- a/bin/luxcena-neo-cli.sh +++ b/bin/luxcena-neo-cli.sh @@ -73,7 +73,8 @@ if [ "$action" == "update" ]; then #cd "$WDIR" # Fetch newest changes on branch - runuser -l 'lux-neo' -c "git -C $WDIR pull" || die + #runuser -l 'lux-neo' -c "git -C $WDIR pull" || die + git -C $WDIR pull # Add node repo curl -fsSL https://deb.nodesource.com/setup_14.x | bash - || die @@ -85,9 +86,12 @@ if [ "$action" == "update" ]; then pip3 install virtualenv || die # Create and configure python virtualenv - runuser -l 'lux-neo' -s /bin/bash -c "rm -rf $WDIR/NeoRuntime/Runtime/venv" || die - runuser -l 'lux-neo' -s /bin/bash -c "virtualenv -p /usr/bin/python3 $WDIR/NeoRuntime/Runtime/venv" || die - runuser -l 'lux-neo' -s /bin/bash -c "source $WDIR/NeoRuntime/Runtime/venv/bin/activate && pip install rpi_ws281x" || die + # runuser -l 'lux-neo' -s /bin/bash -c "rm -rf $WDIR/NeoRuntime/Runtime/venv" || die + rm -rf $WDIR/NeoRuntime/Runtime/venv || die + #runuser -l 'lux-neo' -s /bin/bash -c "virtualenv -p /usr/bin/python3 $WDIR/NeoRuntime/Runtime/venv" || die + virtualenv -p /usr/bin/python3 $WDIR/NeoRuntime/Runtime/venv || die + #runuser -l 'lux-neo' -s /bin/bash -c "source $WDIR/NeoRuntime/Runtime/venv/bin/activate && pip install rpi_ws281x" || die + source $WDIR/NeoRuntime/Runtime/venv/bin/activate && pip install rpi_ws281x || die # Build and run all npm scripts if [ "$2" != "skipNode" ]; then |