1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00

Nodejs should be installed before yarn(upgrade)

This commit is contained in:
anmol26s 2018-04-04 11:29:01 +05:30 committed by GitHub
parent 7a6f60f8ea
commit 42cff4ea61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,6 +79,9 @@ ynh_system_user_create "$app"
# INSTALL DEPENDENCIES # INSTALL DEPENDENCIES
#================================================= #=================================================
# install nodejs
ynh_install_nodejs 8
# install yarn # install yarn
wget https://github.com/yarnpkg/yarn/releases/download/v1.5.1/yarn_1.5.1_all.deb wget https://github.com/yarnpkg/yarn/releases/download/v1.5.1/yarn_1.5.1_all.deb
echo "a4770cd8dcb13dc9a9218940dbd24b510ddf5eec78adb4e0da9ef3760b55a76e yarn_1.5.1_all.deb" | sha256sum -c || ynh_die echo "a4770cd8dcb13dc9a9218940dbd24b510ddf5eec78adb4e0da9ef3760b55a76e yarn_1.5.1_all.deb" | sha256sum -c || ynh_die
@ -91,9 +94,6 @@ ynh_package_update
# install postgresql, ffmpeg, redis # install postgresql, ffmpeg, redis
ynh_install_app_dependencies postgresql-9.4 ffmpeg redis-server redis-tools ynh_install_app_dependencies postgresql-9.4 ffmpeg redis-server redis-tools
# install nodejs
ynh_install_nodejs 8
#================================================= #=================================================
# CHECK THE PATH # CHECK THE PATH
#================================================= #=================================================