copy npm to usr
This commit is contained in:
parent
2057c6195e
commit
d0bf397f9e
|
@ -786,6 +786,7 @@ function install_peertube {
|
|||
echo $'Failed to downgrade npm'
|
||||
exit 3476835
|
||||
fi
|
||||
cp /root/.npm-global/bin/npm /usr/local/bin/npm
|
||||
if ! npm install; then
|
||||
echo $'Failed to install peertube'
|
||||
exit 7835243
|
||||
|
@ -794,6 +795,7 @@ function install_peertube {
|
|||
echo $'Failed to restore npm after downgrade'
|
||||
exit 5737583
|
||||
fi
|
||||
cp /root/.npm-global/bin/npm /usr/local/bin/npm
|
||||
if ! npm run build; then
|
||||
echo $'Failed to build peertube'
|
||||
exit 5293593
|
||||
|
|
Loading…
Reference in New Issue