mirror of
https://github.com/YunoHost-Apps/ampache_ynh.git
synced 2024-09-03 18:15:55 +02:00
Update install
This commit is contained in:
parent
4f079dd1a1
commit
c274f72b8f
1 changed files with 4 additions and 2 deletions
|
@ -87,8 +87,10 @@ ynh_local_curl /update.php?action=update
|
|||
#=================================================
|
||||
ynh_script_progression --message="Loading admin database..." --weight=2
|
||||
|
||||
cp ../conf/admin.sql /tmp/
|
||||
ynh_replace_string --match_string="__ADMIN__" --replace_string="$admin" --target_file=/tmp/admin.sql
|
||||
#cp ../conf/admin.sql /tmp/
|
||||
#ynh_replace_string --match_string="__ADMIN__" --replace_string="$admin" --target_file=/tmp/admin.sql
|
||||
|
||||
ynh_add_config --template="admin.sql" --destination="/tmp/admin.sql"
|
||||
|
||||
ynh_mysql_connect_as --user=$db_user --password="$db_pwd" --database=$db_name < /tmp/admin.sql
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue