1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wallabag2_ynh.git synced 2024-10-01 13:35:06 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2024-07-20 19:30:53 +02:00
parent 3197d05c7a
commit 0fac2d07ba

View file

@ -40,6 +40,18 @@ if [ -e "$install_dir/var/cache/prod/appProdProjectContainer.php" ]; then
chmod 700 "$install_dir/var/cache/prod/appProdProjectContainer.php"
fi
#=================================================
# INSTALL SYMFONY LDAP
#=================================================
ynh_script_progression --message="Installing dependencies for LDAP..." --weight=1
# Some trick to actually not run composer install…
ynh_install_composer --install_args="--dry-run"
ynh_composer_exec --commands="require symfony/ldap"
# SYMFONY_ENV=prod ynh_composer_exec --commands="install --no-dev"
chown -R "$app:www-data" "$install_dir"
#=================================================
# UPDATE A CONFIG FILE
#=================================================