mirror of
https://github.com/YunoHost-Apps/phpmyadmin_ynh.git
synced 2024-09-03 19:56:46 +02:00
Sed on wrong file ....
This commit is contained in:
parent
dd3cfa4d72
commit
112c784999
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ CHECK_VAR "$db_pwd" "db_pwd empty"
|
|||
ynh_mysql_create_db "$db_user" "$db_user" $db_pwd
|
||||
ynh_app_setting_set $app db_pwd $db_pwd
|
||||
ynh_app_setting_set $app db_user $db_user
|
||||
sed -i "s@YNH_PMA_USER@$db_user@g" ../conf/config.inc.php
|
||||
sed -i "s@YNH_PMA_USER@$db_user@g" ../conf/create_db.sql
|
||||
sudo mysql -u root -p$(sudo cat /etc/yunohost/mysql) < ../conf/create_db.sql
|
||||
sudo mysql -u $db_user -p$db_pwd < $final_path/sql/create_tables.sql
|
||||
|
||||
|
|
Loading…
Reference in a new issue