mirror of
https://github.com/YunoHost-Apps/osjs_ynh.git
synced 2024-09-03 19:56:11 +02:00
[Fix] Problem NPM /// stretch forbidden
This commit is contained in:
parent
2bf17aa5c6
commit
2d5debc9b5
1 changed files with 2 additions and 3 deletions
|
@ -23,9 +23,8 @@ CHECK_DOMAINPATH # Vérifie la disponibilité du path et du domaine.
|
|||
CHECK_FINALPATH # Vérifie que le dossier de destination n'est pas déjà utilisé.
|
||||
|
||||
# Install dependency to convert tracks to a readable format for the browser
|
||||
sudo cp -a ../conf/osjs.list /etc/apt/sources.list.d/
|
||||
sudo apt-get update
|
||||
sudo apt-get -t stretch -y -qq install nodejs-legacy nodejs npm
|
||||
sudo curl -sL https://deb.nodesource.com/setup_7.x | sudo bash -
|
||||
sudo apt-get install -yy -qq nodejs
|
||||
|
||||
# Copy files to the right place
|
||||
final_path=/var/www/$app
|
||||
|
|
Loading…
Add table
Reference in a new issue