1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yourls_ynh.git synced 2024-09-03 20:35:59 +02:00

Changed the mysql connect command according to YunoHost for the install script

This commit is contained in:
Anmol 2017-07-17 08:25:16 +05:30
parent 786f1cbf1c
commit 0b9b8218a8

View file

@ -112,7 +112,7 @@ sudo yunohost app ssowatconf
curl -kL -X POST https://$domain$path_url/admin/install.php --data "install=dummy" > /dev/null 2>&1
# Activate auth plugin
mysql -u $db_name -p $db_pwd $db_name < ../conf/activate_plugins.sql
ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_name" < "../conf/activate_plugins.sql"