Add full path for yarn

This commit is contained in:
John Hooks 2017-08-02 22:05:18 -04:00
parent 36cb593532
commit aa4650d54f

View File

@ -36,7 +36,7 @@ sudo /usr/bin/npm install && /usr/bin/npm run build
sudo cp sample.config.yaml .xo-server.yaml
sudo sed -i "s|#'/': '/path/to/xo-web/dist/'|'/': '/opt/xo-web/dist'|" .xo-server.yaml
cd $xo_web_dir
yarn install --force
/usr/bin/yarn install --force
if [[ ! -e $xo_systemd_service ]] ; then