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

dry run composer install

This commit is contained in:
Salamandar 2024-06-17 22:39:41 +02:00
parent f79bba08b6
commit 46f4536416

View file

@ -40,8 +40,11 @@ fi
#=================================================
ynh_script_progression --message="Installing dependencies for LDAP..." --weight=1
ynh_install_composer
# Some trick to actually not run composer install…
ynh_install_composer --install_args="--dry-run"
ynh_composer_exec --workdir="$install_dir/sources" --commands="require symfony/ldap"
SYMFONY_ENV=prod ynh_composer_exec --commands="install --no-dev $install_args" \
chown -R "$app:www-data" "$install_dir"
#=================================================