mirror of
https://github.com/YunoHost-Apps/abantecart_ynh.git
synced 2024-09-03 18:06:16 +02:00
fix
This commit is contained in:
parent
40a636cc7c
commit
c673cc5734
1 changed files with 3 additions and 2 deletions
|
@ -104,8 +104,9 @@ ynh_script_progression --message="Upgrading MySQL configuration..." --weight=1
|
|||
# Update MySQL entries
|
||||
upgrade_mysql_dir="../sources/patches/mysql/from_$src_version.sql"
|
||||
|
||||
if [ -d "$upgrade_mysql_dir" ]; then
|
||||
ynh_mysql_execute_file_as_root --file=$upgrade_mysql_dir
|
||||
if [ -f "$upgrade_mysql_dir" ]; then
|
||||
ynh_mysql_execute_file_as_root --file=$upgrade_mysql_dir --database=$db_name
|
||||
cat $upgrade_mysql_dir
|
||||
fi
|
||||
|
||||
updated_src_version=$(ynh_app_upstream_version)
|
||||
|
|
Loading…
Reference in a new issue