From 5b9bf914f73bf1cbdf326554218ccc024dd425d5 Mon Sep 17 00:00:00 2001 From: hooksie1 Date: Thu, 3 Aug 2017 20:17:50 -0400 Subject: [PATCH] Move yarn install --force before yaml copy. --- xo_install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xo_install.sh b/xo_install.sh index 69fde48..fcd7b61 100644 --- a/xo_install.sh +++ b/xo_install.sh @@ -32,11 +32,10 @@ sudo /usr/bin/apt-get install --yes build-essential redis-server libpng-dev git /usr/bin/git clone -b $xo_branch $xo_server /usr/bin/git clone -b $xo_branch $xo_web cd $xo_server_dir -sudo /usr/bin/npm install && /usr/bin/npm run build +/usr/bin/yarn install --force 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 -/usr/bin/yarn install --force if [[ ! -e $systemd_service_dir/$xo_service ]] ; then