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:
parent
7a6f60f8ea
commit
42cff4ea61
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue