Skip to content

Commit

Permalink
Add gymnasticon to user pi's path (#47)
Browse files Browse the repository at this point in the history
To improve troubleshooting, add the directory /opt/gymnasticon/node/bin/ - where the executables for gymnasticon, node, and npm reside - to the $PATH variable for the user pi.
  • Loading branch information
chriselsen committed Feb 11, 2021
1 parent 0c65dcf commit 0966d80
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ if [ ! -x "${ROOTFS_DIR}/opt/gymnasticon/node/bin/node" ] ; then
cd /opt/gymnasticon/node
tar zxvf /tmp/node.tar.gz --strip 1
chown -R "${GYMNASTICON_USER}:${GYMNASTICON_GROUP}" /opt/gymnasticon
echo "export PATH=/opt/gymnasticon/node/bin/:\$PATH" >> /home/pi/.profile
EOF
fi

Expand Down

0 comments on commit 0966d80

Please sign in to comment.