mirror of
https://github.com/Jarli01/xenorchestra_installer.git
synced 2024-11-23 12:30:45 +01:00
Change sed command to replace existing sample mount
instead of creating new line. Uses pipe as delimiter so it's easier to read.
This commit is contained in:
parent
39a36fa5a9
commit
abedcaf0b9
@ -34,7 +34,7 @@ sudo /usr/bin/apt-get install --yes build-essential redis-server libpng-dev git
|
|||||||
cd $xo_server_dir
|
cd $xo_server_dir
|
||||||
sudo npm install && npm run build
|
sudo npm install && npm run build
|
||||||
sudo cp sample.config.yaml .xo-server.yaml
|
sudo cp sample.config.yaml .xo-server.yaml
|
||||||
sudo sed -i /mounts/a\\" '/': '/opt/xo-web/dist'" .xo-server.yaml
|
sudo sed -i "s|#'/': '/path/to/xo-web/dist/'|'/': '/opt/xo-web/dist'|" .xo-server.yaml
|
||||||
cd $xo_web_dir
|
cd $xo_web_dir
|
||||||
yarn install --force
|
yarn install --force
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user