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

Update install

This commit is contained in:
ericgaspar 2021-07-19 08:47:47 +02:00
parent a9a53a5d70
commit 218f4ac149

View file

@ -142,13 +142,13 @@ chown root: "/etc/cron.d/$app"
chmod 644 "/etc/cron.d/$app"
#=================================================
# STORE THE CONFIG FILE CHECKSUM
# INSTALL FRIENDICA
#=================================================
# Run composer
pushd "$final_path"
php$phpversion bin/composer.phar install --no-dev
bin/console config system addon ldapauth
ynh_exec_as "$app" php$phpversion bin/composer.phar install --no-dev
ynh_exec_as "$app" bin/console config system addon ldapauth
popd
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', UNIX_TIMESTAMP(), '0');"