1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/uptime-kuma_ynh.git synced 2024-10-01 13:34:58 +02:00

cosmetic fixes

This commit is contained in:
Hadrien 2021-11-02 02:23:42 +03:00
parent 8c70744924
commit 61c9c24be3
2 changed files with 3 additions and 5 deletions

View file

@ -34,7 +34,7 @@
"name": "domain", "name": "domain",
"type": "domain", "type": "domain",
"help": { "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." "fr": "Cette app a besoin de tout un sous-domaine à elle toute seule."
} }
}, },

View file

@ -210,10 +210,8 @@ ynh_add_nginx_config
#================================================= #=================================================
# SPECIFIC SETUP # SPECIFIC SETUP
#================================================= #=================================================
ynh_script_progression --message="Installing Uptime Kuma npm dependencies..." --time --weight=5 ynh_script_progression --message="Installing Uptime Kuma dependencies..." --time --weight=7
# ynh_exec_warn_less ynh_exec_as $app $ynh_npm install cd $final_path && ynh_exec_warn_less $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="Downloading Uptime Kuma frontend..." --time --weight=1 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_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 ynh_exec_as $app tar -xvf dist.tar.gz --directory=$final_path