update yarn installation command (#267)
on ubuntu `sudo -u` doesn't set homedirectory of the targeted user althought debian does. it requires the option `-H`. I think with this option it works in both case.
This commit is contained in:
parent
36f9424ff1
commit
09c93c2031
|
@ -52,7 +52,7 @@ $ sudo -u peertube unzip peertube-${VERSION}.zip && sudo -u peertube rm peertube
|
|||
Install Peertube
|
||||
```
|
||||
$ cd ../ && sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest
|
||||
$ cd ./peertube-latest && sudo -u peertube yarn install --production --pure-lockfile
|
||||
$ cd ./peertube-latest && sudo -H -u peertube yarn install --production --pure-lockfile
|
||||
```
|
||||
|
||||
### PeerTube configuration
|
||||
|
|
Loading…
Reference in New Issue