mirror of
https://github.com/YunoHost-Apps/writefreely_ynh.git
synced 2024-09-03 20:36:02 +02:00
Added sql import add sources
This commit is contained in:
parent
f5d8e3268e
commit
6979bbdbfa
1 changed files with 2 additions and 0 deletions
|
@ -113,6 +113,8 @@ ynh_app_setting_set $app final_path $final_path
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source "$final_path"
|
ynh_setup_source "$final_path"
|
||||||
|
|
||||||
|
# Import database schema
|
||||||
|
ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_name" < $final_path/schema.sql
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
|
Loading…
Add table
Reference in a new issue