From 3877c8b02ec8267b9013cf94ddebec3aee116819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 25 Mar 2024 22:51:54 +0100 Subject: [PATCH] restore some changes --- scripts/install | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/scripts/install b/scripts/install index b4717ad..fb777e5 100644 --- a/scripts/install +++ b/scripts/install @@ -61,34 +61,25 @@ chown -R "$app:" "$install_dir" # Installation with curl -mkdir -p "/var/log/$app/" - ynh_script_progression --message="Finalizing installation..." --weight=1 ynh_script_progression --message="Generate fileconf" --weight=1 -ynh_local_curl "/install/fileconf.php" \ - "testpost=ok" +ynh_local_curl "/install/fileconf.php" "testpost=ok" ynh_exec_fully_quiet sleep 5 ynh_script_progression --message="installation - step 1" --weight=3 -ynh_local_curl "/install/step1.php" \ - "testpost=ok" \ - "action=set" > /var/log/$app/install1.html +ynh_local_curl "/install/step1.php" "testpost=ok" "action=set" ynh_exec_fully_quiet sleep 5 ynh_script_progression --message="installation - step 2 (may take a while)..." --weight=72 -ynh_local_curl "/install/step2.php" \ - "testpost=ok" \ - "action=set" > /var/log/$app/install2.html +ynh_local_curl "/install/step2.php" "testpost=ok" "action=set" ynh_exec_fully_quiet sleep 5 ynh_script_progression --message="installation - step 4" --weight=3 -ynh_local_curl "/install/step4.php" \ - "testpost=ok" \ - "action=set" > /var/log/$app/install3.html +ynh_local_curl "/install/step4.php" "testpost=ok" "action=set" ynh_exec_fully_quiet sleep 5 @@ -96,11 +87,7 @@ ynh_exec_fully_quiet sleep 5 password=$(ynh_string_random 8) ynh_script_progression --message="installation - step 5" --weight=4 -ynh_local_curl "/install/step5.php" \ - "testpost=ok" \ - "action=set" \ - "pass=$password" \ - "pass_verif=$password" > /var/log/$app/install4.html +ynh_local_curl "/install/step5.php" "testpost=ok" "action=set" "pass=$password" "pass_verif=$password" ynh_exec_fully_quiet sleep 5