From 61c9c24be323952795903786b171d1046519664a Mon Sep 17 00:00:00 2001 From: Hadrien Date: Tue, 2 Nov 2021 02:23:42 +0300 Subject: [PATCH] cosmetic fixes --- manifest.json | 2 +- scripts/install | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index dfccca1..bf01780 100644 --- a/manifest.json +++ b/manifest.json @@ -34,7 +34,7 @@ "name": "domain", "type": "domain", "help": { - "en": "This app requires a whole subdomain and doesn't support sub-paths.", + "en": "This app requires a whole subdomain", "fr": "Cette app a besoin de tout un sous-domaine à elle toute seule." } }, diff --git a/scripts/install b/scripts/install index 3b6a202..2f671e8 100755 --- a/scripts/install +++ b/scripts/install @@ -210,10 +210,8 @@ ynh_add_nginx_config #================================================= # SPECIFIC SETUP #================================================= -ynh_script_progression --message="Installing Uptime Kuma npm dependencies..." --time --weight=5 -# ynh_exec_warn_less ynh_exec_as $app $ynh_npm install -ynh_exec_warn_less cd $final_path && $ynh_npm install -# cd $final_path && /usr/local/n/versions/node/14.18.1/bin/npm install +ynh_script_progression --message="Installing Uptime Kuma dependencies..." --time --weight=7 +cd $final_path && ynh_exec_warn_less $ynh_npm install ynh_script_progression --message="Downloading Uptime Kuma frontend..." --time --weight=1 ynh_exec_warn_less wget https://github.com/louislam/uptime-kuma/releases/download/1.10.0/dist.tar.gz ynh_exec_as $app tar -xvf dist.tar.gz --directory=$final_path