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:
parent
2b1e00e4b2
commit
7860d86a6d
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ setfacl -m g:"gemserv":r-x "$install_dir"
|
|||
#=================================================
|
||||
# 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_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" < ./db.sql
|
||||
|
|
Loading…
Reference in a new issue