1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/friendica_ynh.git synced 2024-09-03 18:36:14 +02:00

fix mysql

This commit is contained in:
anmol26s 2020-04-23 04:30:59 +05:30
parent 24520f0641
commit ccc5ba1fb5

View file

@ -210,7 +210,7 @@ ynh_store_file_checksum --file="$final_path/config/local.config.php"
# Run composer
(cd $final_path && sudo php bin/composer.phar install)
(cd $final_path && sudo bin/console config system addon ldapauth)
ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_name" <<< "INSERT INTO `addon` (`id`, `name`, `version`, `installed`, `hidden`, `timestamp`, `plugin_admin`) VALUES (NULL, 'ldapauth', '', '1', '0', '1', '0');"
ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_name" <<< INSERT INTO `addon` (`id`, `name`, `version`, `installed`, `hidden`, `timestamp`, `plugin_admin`) VALUES (NULL, 'ldapauth', '', '1', '0', '1', '0');
chown -R $app: $final_path
#=================================================