Skip to content
Snippets Groups Projects
Commit d0bf397f authored by Bob Mottram's avatar Bob Mottram
Browse files

copy npm to usr

parent 2057c619
No related branches found
No related tags found
No related merge requests found
...@@ -786,6 +786,7 @@ function install_peertube { ...@@ -786,6 +786,7 @@ function install_peertube {
echo $'Failed to downgrade npm' echo $'Failed to downgrade npm'
exit 3476835 exit 3476835
fi fi
cp /root/.npm-global/bin/npm /usr/local/bin/npm
if ! npm install; then if ! npm install; then
echo $'Failed to install peertube' echo $'Failed to install peertube'
exit 7835243 exit 7835243
...@@ -794,6 +795,7 @@ function install_peertube { ...@@ -794,6 +795,7 @@ function install_peertube {
echo $'Failed to restore npm after downgrade' echo $'Failed to restore npm after downgrade'
exit 5737583 exit 5737583
fi fi
cp /root/.npm-global/bin/npm /usr/local/bin/npm
if ! npm run build; then if ! npm run build; then
echo $'Failed to build peertube' echo $'Failed to build peertube'
exit 5293593 exit 5293593
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment