fix restore postgresql

This commit is contained in:
Thomas 2025-08-25 08:42:42 +02:00 committed by GitHub
parent 28f4fc68fc
commit 1f8bf44173
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,7 +20,7 @@ ynh_restore "$install_dir"
ynh_script_progression "Restoring the PostgreSQL database..."
ynh_psql_db_shell <<< "ALTER USER $db_user CREATEDB;"
ynh_psql_db_shell " < "./db.sql""
ynh_psql_db_shell < "./db.sql"
#=================================================
# ADD SWAP IF NEEDED