From bada1de46bd6d5af1e361d554e034c15e2303163 Mon Sep 17 00:00:00 2001 From: Paul Guyot Date: Thu, 19 Dec 2019 10:27:12 +0100 Subject: [PATCH] Install nabblockly with pi user --- setup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup b/setup index 6f6cb5f6..87026ced 100755 --- a/setup +++ b/setup @@ -80,10 +80,10 @@ sudo -u pi git clone -b release https://github.com/nabaztag2018/pynab.git echo "Installing nabblockly" sudo apt-get install -y erlang || echo cd /home/pi/pynab -git clone https://github.com/pguyot/nabblockly +sudo -u pi git clone https://github.com/pguyot/nabblockly cd nabblockly -wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3 -./rebar3 release +sudo -u pi wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3 +sudo -u pi ./rebar3 release echo "Running pynab install script" cd /home/pi/pynab