1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_capsule_ynh.git synced 2024-09-03 19:46:21 +02:00

oops, wrong variable name

This commit is contained in:
Salamandar 2024-01-28 15:30:46 +01:00
parent 2b1e00e4b2
commit 7860d86a6d

View file

@ -44,7 +44,7 @@ setfacl -m g:"gemserv":r-x "$install_dir"
#================================================= #=================================================
# RESTORE THE MYSQL DATABASE # RESTORE THE MYSQL DATABASE
#================================================= #=================================================
if [ "$with_sql" -eq 1 ]; then if [ "$with_mysql" -eq 1 ]; then
ynh_script_progression --message="Restoring the MySQL database..." --weight=1 ynh_script_progression --message="Restoring the MySQL database..." --weight=1
ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" < ./db.sql ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" < ./db.sql