mirror of
https://github.com/Jarli01/xenorchestra_installer.git
synced 2024-11-23 20:36:13 +01:00
Merge pull request #34 from Jarli01/Danp2-patch-1
Create /usr/local/lib/node_modules/ if missing
This commit is contained in:
commit
c9b6d22ca1
@ -58,6 +58,8 @@ cd packages/xo-server
|
|||||||
cp sample.config.yaml .xo-server.yaml
|
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
|
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
|
# symlink all plugins
|
||||||
for source in =$(ls -d /opt/xen-orchestra/packages/xo-server-*); do
|
for source in =$(ls -d /opt/xen-orchestra/packages/xo-server-*); do
|
||||||
ln -s "$source" /usr/local/lib/node_modules/
|
ln -s "$source" /usr/local/lib/node_modules/
|
||||||
|
Loading…
Reference in New Issue
Block a user