From 392ae2753adad6829a50fbc3df3cd45af72841d2 Mon Sep 17 00:00:00 2001 From: Christoph Date: Thu, 12 Oct 2017 04:12:27 +0200 Subject: [PATCH] Maybe not needed, but also run composer to update roundcube dependencies. --- upgrade_roundcube.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/upgrade_roundcube.sh b/upgrade_roundcube.sh index 26eec8f..3565588 100755 --- a/upgrade_roundcube.sh +++ b/upgrade_roundcube.sh @@ -453,6 +453,15 @@ else fatal "$(cat $log_file)" fi +echononl " Update dependencies by running 'php composer.phar update --no-dev'" +php composer.phar update --no-dev > ${_src_base_dir}/log/update_roundcube-${ROUNDCUBE_VERSION}-dependencies.${backup_date}.log 2>&1 +if [[ $? -eq 0 ]]; then + echo_ok +else + echo_failed + error "$(cat ${_src_base_dir}/log/update_roundcube-${ROUNDCUBE_VERSION}-dependencies.${backup_date}.log)" +fi + echononl " Index build-in addressbook" ${WEBSITE_BASEDIR}/roundcubemail-${ROUNDCUBE_VERSION}/bin/indexcontacts.sh > $log_file 2>&1 if [[ $? -eq 0 ]]; then