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 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