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:
parent
f0d30038f6
commit
c31c410195
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue