mirror of
https://github.com/YunoHost-Apps/jellyseerr_ynh.git
synced 2024-09-03 19:26:18 +02:00
readd yarn
This commit is contained in:
parent
d08dfcebd5
commit
63986ca679
1 changed files with 4 additions and 3 deletions
|
@ -15,6 +15,7 @@ source /usr/share/yunohost/helpers
|
||||||
ynh_script_progression --message="Installing dependencies..." --weight=10
|
ynh_script_progression --message="Installing dependencies..." --weight=10
|
||||||
|
|
||||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
|
||||||
|
ynh_exec_warn_less npm install --global yarn
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
|
@ -49,9 +50,9 @@ ynh_use_nodejs
|
||||||
|
|
||||||
cd $install_dir
|
cd $install_dir
|
||||||
|
|
||||||
npm install
|
yarn install --network-timeout=30000
|
||||||
npm run build
|
yarn run build
|
||||||
npm start
|
yarn start
|
||||||
|
|
||||||
chmod 750 "$install_dir"
|
chmod 750 "$install_dir"
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
|
|
Loading…
Add table
Reference in a new issue