1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galette_ynh.git synced 2024-09-03 18:36:28 +02:00

Update restore

This commit is contained in:
Éric Gaspar 2023-11-11 14:54:04 +01:00
parent f0d30038f6
commit c31c410195

View file

@ -32,7 +32,6 @@ chown -R $app:www-data "$install_dir"
if [ $database == "postgresql" ]
then
#ynh_psql_execute_file_as_root --file="./db.sql" --database=$db_name
ynh_psql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql
else
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql