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