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:
Éric Gaspar 2023-08-21 18:30:41 +02:00
parent 3d50263063
commit 1f84ec8c89

View file

@ -76,6 +76,7 @@ ynh_add_config --template="../conf/addon.config.php" --destination="$install_dir
ynh_script_progression --message="Install Friendica..." --weight=1 ynh_script_progression --message="Install Friendica..." --weight=1
pushd "$install_dir" pushd "$install_dir"
ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" < "$install_dir/database.sql"
# Import Composer dependencies # Import Composer dependencies
ynh_exec_as "$app" php$phpversion bin/composer.phar install --no-dev --quiet ynh_exec_as "$app" php$phpversion bin/composer.phar install --no-dev --quiet
@ -86,6 +87,7 @@ pushd "$install_dir"
# Enable LDAP Auth addon # Enable LDAP Auth addon
ynh_exec_as "$app" php$phpversion bin/console.php addon enable ldapauth ynh_exec_as "$app" php$phpversion bin/console.php addon enable ldapauth
popd popd
#================================================= #=================================================