1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse-admin_ynh.git synced 2024-09-03 20:26:34 +02:00
This commit is contained in:
Éric Gaspar 2023-03-10 08:46:25 +01:00
parent 4b1e424213
commit 9f5c1a8516
2 changed files with 2 additions and 3 deletions

View file

@ -12,7 +12,6 @@ maintainers = ["eric_G"]
[upstream] [upstream]
license = "Apache-2.0" license = "Apache-2.0"
code = "https://github.com/Awesome-Technologies/synapse-admin" code = "https://github.com/Awesome-Technologies/synapse-admin"
website = "https://github.com/Awesome-Technologies/synapse-admin"
[integration] [integration]
yunohost = ">= 11.1.14" yunohost = ">= 11.1.14"

View file

@ -40,7 +40,7 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd"
if [ "$upgrade_type" == "UPGRADE_APP" ] if [ "$upgrade_type" == "UPGRADE_APP" ]
then then
ynh_script_progression --message="Upgrading source files..." --weight=160 ynh_script_progression --message="Upgrading source files..." --weight=16
ynh_setup_source --dest_dir="$install_dir" --keep=".env" ynh_setup_source --dest_dir="$install_dir" --keep=".env"
fi fi
@ -74,7 +74,7 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
#============================================== #==============================================
if [ "$upgrade_type" == "UPGRADE_APP" ] if [ "$upgrade_type" == "UPGRADE_APP" ]
then then
ynh_script_progression --message="Building $app... (this will take some time and resources!)" --weight=60 ynh_script_progression --message="Building $app... (this will take some time and resources!)" --weight=6
pushd "$install_dir" pushd "$install_dir"
ynh_use_nodejs ynh_use_nodejs