change ownership to current owner; create envvar

This commit is contained in:
Paul Trowbridge 2023-03-08 09:12:18 -05:00
parent e7b7d1bbba
commit b3a9151eff
1 changed files with 2 additions and 1 deletions

View File

@ -2,4 +2,5 @@ sudo cp app/build/distributions/app.zip /opt/
sudo rm -rf /opt/app/
sudo unzip /opt/app.zip -d /opt/
sudo rm /opt/app.zip
sudo chown ptrowbridge:ptrowbridge -R /opt/app/
sudo chown $USER:$USER -R /opt/app/
export JR="/opt/app/bin/app"