mirror of
https://github.com/YunoHost-Apps/roundcube_ynh.git
synced 2024-09-03 20:16:28 +02:00
Update upgrade
This commit is contained in:
parent
a0aa5d144b
commit
85a205f759
1 changed files with 5 additions and 1 deletions
|
@ -152,7 +152,8 @@ then
|
|||
# Check if dependencies need to be updated with Composer
|
||||
if [ -f "$final_path/composer.json" ]
|
||||
then
|
||||
ynh_exec_warn_less ynh_composer_exec --commands=\"update --no-dev --prefer-dist\"
|
||||
#ynh_exec_warn_less ynh_composer_exec --commands=\"update --no-dev --prefer-dist\"
|
||||
ynh_exec_warn_less ynh_composer_exec --commands="update"
|
||||
else
|
||||
# Install composer.json
|
||||
cp "$final_path/composer.json-dist" "$final_path/composer.json"
|
||||
|
@ -166,6 +167,9 @@ then
|
|||
# Create logs and temp directories
|
||||
mkdir -p "$final_path/"{logs,temp}
|
||||
|
||||
# Install Installer Update for Composer 2.0
|
||||
ynh_composer_exec --commands="require roundcube/plugin-installer:>=0.2.0"
|
||||
|
||||
# Install net_LDAP
|
||||
ynh_composer_exec --commands="require kolab/net_ldap3"
|
||||
|
||||
|
|
Loading…
Reference in a new issue