From 1069929ced87da828522ec07f03f066af58ad090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 3 Aug 2024 09:23:43 +0200 Subject: [PATCH] fix --- scripts/install | 7 +++++++ scripts/upgrade | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/install b/scripts/install index cdc5a1e..7a829b0 100755 --- a/scripts/install +++ b/scripts/install @@ -31,6 +31,13 @@ ynh_config_add --template="cron" --destination="/etc/cron.d/$app" chown root: "/etc/cron.d/$app" chmod 644 "/etc/cron.d/$app" +#================================================= +# SETUP APPLICATION WITH CURL +#================================================= +ynh_script_progression "Finalizing installation..." + +ynh_local_curl "/install/index.php?submit" "username=$db_user" "password=$db_pwd" "database=$db_name" + #================================================= # END OF SCRIPT #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 17fb923..0660b3f 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -27,13 +27,6 @@ ynh_config_add_nginx ynh_config_add_logrotate -#================================================= -# SETUP APPLICATION WITH CURL -#================================================= -ynh_script_progression "Finalizing installation..." - -ynh_local_curl "/install/index.php?submit" "username=$db_user" "password=$db_pwd" "database=$db_name" - #================================================= # END OF SCRIPT #=================================================