update with version number

This commit is contained in:
aj 2017-10-23 23:26:32 +00:00
parent 6c182d4736
commit 2bb33b1f20
1 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ install_walnut()
if [ ! -d "./.git/" ]; then if [ ! -d "./.git/" ]; then
echo "'/srv/walnut/core' exists but is not a git repository... not sure what to do here..." echo "'/srv/walnut/core' exists but is not a git repository... not sure what to do here..."
fi fi
git checkout master git checkout v1.2
git pull git pull
popd popd
rm -rf /srv/walnut/core/node_modules rm -rf /srv/walnut/core/node_modules
@ -77,7 +77,7 @@ install_walnut()
# Now that the install is finished we need to set the owner to the user that will actually # Now that the install is finished we need to set the owner to the user that will actually
# be running the walnut server. # be running the walnut server.
$sudo_cmd chown -R www-data:www-data /srv/walnut || $sudo_cmd chown -R _www:_www /srv/walnut $sudo_cmd chown -R www-data:www-data /srv/walnut || $sudo_cmd chown -R _www:_www /srv/walnut
} }
# Install node # Install node
echo "----Installing Nodejs and NPM----" echo "----Installing Nodejs and NPM----"
@ -118,4 +118,4 @@ echo " cloud.example.com"
echo " api.cloud.example.com" echo " api.cloud.example.com"
echo "" echo ""
echo "Check the WALNUT README.md for more info and how to set up /etc/goldilocks/goldilocks.yml" echo "Check the WALNUT README.md for more info and how to set up /etc/goldilocks/goldilocks.yml"
echo "" echo ""