From 34f6d29ef2d46643ff0d43c1bf8f1bc24ae0c13f Mon Sep 17 00:00:00 2001 From: Danp2 Date: Fri, 17 Aug 2018 07:51:34 -0500 Subject: [PATCH] Create /usr/local/lib/node_modules/ if missing --- xo_install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xo_install.sh b/xo_install.sh index 1aa698f..2240950 100644 --- a/xo_install.sh +++ b/xo_install.sh @@ -58,6 +58,8 @@ cd packages/xo-server cp sample.config.yaml .xo-server.yaml sed -i "s|#'/': '/path/to/xo-web/dist/'|'/': '/opt/xen-orchestra/packages/xo-web/dist'|" .xo-server.yaml +mkdir -p /usr/local/lib/node_modules/ + # symlink all plugins for source in =$(ls -d /opt/xen-orchestra/packages/xo-server-*); do ln -s "$source" /usr/local/lib/node_modules/