From 63986ca679876c09f7ed7512e6706ab1e2686375 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Sun, 7 May 2023 22:55:15 +0200 Subject: [PATCH] readd yarn --- scripts/install | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 53373c0..746b308 100755 --- a/scripts/install +++ b/scripts/install @@ -15,6 +15,7 @@ source /usr/share/yunohost/helpers ynh_script_progression --message="Installing dependencies..." --weight=10 ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version +ynh_exec_warn_less npm install --global yarn #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE @@ -49,9 +50,9 @@ ynh_use_nodejs cd $install_dir -npm install -npm run build -npm start +yarn install --network-timeout=30000 +yarn run build +yarn start chmod 750 "$install_dir" chmod -R o-rwx "$install_dir"