From f4b059f3d65db9582f08775c4bac9149bc0d002a Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 1 Feb 2019 04:52:12 +0100 Subject: [PATCH 1/2] remove duplicate --- scripts/change_url | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/change_url b/scripts/change_url index 7b4dc0f..06933b6 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -106,7 +106,6 @@ yunohost service start $app ynh_backup_if_checksum_is_different "$final_path/$app/.env" # Recalculate and store the checksum of the file for the next upgrade. ynh_store_file_checksum "$final_path/$app/.env" -ynh_store_file_checksum "$final_path/$app/.env" #================================================= # GENERIC FINALISATION From 798a566835e11194bda3d607e627b2c5bcf579ec Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 1 Feb 2019 08:43:15 +0100 Subject: [PATCH 2/2] Fix User Path --- scripts/install | 2 +- scripts/restore | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 60c9c3a..3d969e9 100755 --- a/scripts/install +++ b/scripts/install @@ -158,7 +158,7 @@ ynh_add_nginx_config #================================================= # Create a system user -ynh_system_user_create $app $final_path +ynh_system_user_create "$app" "$final_path" #================================================= # PHP-FPM CONFIGURATION diff --git a/scripts/restore b/scripts/restore index 3be1332..b334bd7 100755 --- a/scripts/restore +++ b/scripts/restore @@ -72,7 +72,7 @@ ynh_psql_execute_file_as_root ./db.sql "$db_name" #================================================= # Create the dedicated user (if not existing) -ynh_system_user_create $app "$final_path" +ynh_system_user_create "$app" "$final_path" #================================================= # RESTORE USER RIGHTS