diff --git a/scripts/install b/scripts/install index 6240029..9c37ecc 100644 --- a/scripts/install +++ b/scripts/install @@ -147,7 +147,8 @@ ynh_permission_update --permission="main" --add="visitors" # Installation with curl ynh_script_progression --message="Finalizing installation..." ynh_local_curl "/installer.php" "install_permsok=1" -ynh_local_curl "/installer.php" "install_type=i"if [ $database == "pgsql" ] +ynh_local_curl "/installer.php" "install_type=i" +if [ $database == "pgsql" ] then ynh_local_curl "/installer.php" "install_dbtype=pgsql" "install_dbhost=localhost" "install_dbport=5432" "install_dbuser=$db_user" "install_dbpass=$db_pwd" "install_dbname=$db_name" "install_dbprefix=galette_" else