1
0
Fork 0
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:
ericgaspar 2023-12-24 09:33:05 +01:00
parent 4f079dd1a1
commit c274f72b8f

View file

@ -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