From 7078fe1465d9fbe20b60691c5e836b89a0a7d229 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 30 Jun 2021 00:29:47 +0200 Subject: [PATCH] Fix --- conf/app.src | 8 ++++---- scripts/install | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/conf/app.src b/conf/app.src index 055a238..48d20bb 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,7 +1,7 @@ -SOURCE_URL=https://github.com/RocketChat/Rocket.Chat/archive/refs/tags/3.16.0.zip -SOURCE_SUM=e470e895d95e0a1b1ea6fa904610fdf55d3318279600df1c4749474186f8cbdb +SOURCE_URL=https://releases.rocket.chat/latest/download +SOURCE_SUM=c77aeed2a5eda4a3e9dfde8cfb742f32138638a3a44d0e9e38005992fcadb45b SOURCE_SUM_PRG=sha256sum -SOURCE_FORMAT=zip +SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true -SOURCE_FILENAME= +SOURCE_FILENAME=rocket.chat-3.16.0.tgz SOURCE_EXTRACT=true \ No newline at end of file diff --git a/scripts/install b/scripts/install index 5f9ab58..de96966 100644 --- a/scripts/install +++ b/scripts/install @@ -120,9 +120,9 @@ ynh_add_nginx_config #============================================== ynh_script_progression --message="Building $app... (this will take some time and resources!)" --weight=240 -pushd $final_path +pushd $final_path/programs/server ynh_use_nodejs - npm install -g inherits + npm install -g inherits n ynh_exec_as $app env $ynh_node_load_PATH npm install popd