diff --git a/install.sh b/install.sh index aad12e6..8505656 100644 --- a/install.sh +++ b/install.sh @@ -68,7 +68,7 @@ install_walnut() if [ ! -d "./.git/" ]; then echo "'/srv/walnut/core' exists but is not a git repository... not sure what to do here..." fi - git checkout master + git checkout v1.2 git pull popd 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 # be running the walnut server. $sudo_cmd chown -R www-data:www-data /srv/walnut || $sudo_cmd chown -R _www:_www /srv/walnut -} +} # Install node echo "----Installing Nodejs and NPM----" @@ -118,4 +118,4 @@ echo " cloud.example.com" echo " api.cloud.example.com" echo "" echo "Check the WALNUT README.md for more info and how to set up /etc/goldilocks/goldilocks.yml" -echo "" \ No newline at end of file +echo ""