Skip to content

Commit

Permalink
fix: try to manage composer update correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoPoi committed Feb 5, 2024
1 parent dfe6ee5 commit 6a7f6df
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,15 @@ install_ldap_addressbook_contextmenu_plugins() {

# Install net_LDAP
export COMPOSER_ALLOW_SUPERUSER=1
ynh_composer_exec --commands="require kolab/net_ldap3"
ynh_composer_exec --commands="require kolab/net_ldap3 --update-with-all-dependencies"

# Install contextmenu and automatic_addressbook plugins
# https://plugins.roundcube.net/packages/sblaisot/automatic_addressbook
# https://plugins.roundcube.net/packages/johndoh/contextmenu
ynh_composer_exec --commands="require \
johndoh/contextmenu $contextmenu_version \
sblaisot/automatic_addressbook $automatic_addressbook_version"
sblaisot/automatic_addressbook $automatic_addressbook_version \
--update-with-all-dependencies"

installed_plugins+=" 'contextmenu', 'automatic_addressbook',"

Expand All @@ -48,7 +49,7 @@ install_ldap_addressbook_contextmenu_plugins() {
}

install_carddav_plugin(){
ynh_composer_exec --commands="require roundcube/carddav $carddav_version --with-all-dependencies"
ynh_composer_exec --commands="require roundcube/carddav $carddav_version --update-with-all-dependencies"

carddav_tmp_config="../conf/carddav.config.inc.php"
carddav_server=0
Expand Down

0 comments on commit 6a7f6df

Please sign in to comment.