diff -Nur --no-dereference smeserver-roundcube-1.2.old/root/usr/bin/rcplugin_update.sh smeserver-roundcube-1.2/root/usr/bin/rcplugin_update.sh --- smeserver-roundcube-1.2.old/root/usr/bin/rcplugin_update.sh 2024-03-25 11:07:28.309000000 -0400 +++ smeserver-roundcube-1.2/root/usr/bin/rcplugin_update.sh 2024-03-25 11:10:33.183000000 -0400 @@ -1,20 +1,14 @@ #!/bin/bash -/sbin/e-smith/db configuration setprop php81 AllowUrlFopen On -/sbin/e-smith/expand-template /etc/opt/remi/php81/php.ini -/usr/bin/systemctl restart php81-php-fpm >/dev/null 2>&1 -#/etc/init.d/httpd-e-smith restart >/dev/null 2>&1 pathroundcube=$(pwd) - cd /usr/share/roundcubemail -COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 /usr/local/bin/composer require johndoh/contextmenu --with-dependencies -COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 /usr/local/bin/composer require johndoh/globaladdressbook ~2.1 --with-dependencies -COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 /usr/local/bin/composer require roundcube/larry ~1.6.0 --with-dependencies -COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 /usr/local/bin/composer require bennet0496/nextcloud_attachments --with-dependencies - -COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 /usr/local/bin/composer self-update -COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 /usr/local/bin/composer update --with-dependencies -/sbin/e-smith/db configuration setprop php81 AllowUrlFopen off -/sbin/e-smith/expand-template /etc/opt/remi/php81/php.ini -/usr/bin/systemctl restart php81-php-fpm >/dev/null 2>&1 +# composer seems to have issues to detect roundcubemail 1.6.6 version... so: +# we could also get it from index.php header. +export COMPOSER_ROOT_VERSION=`rpm -q roundcubemail --queryformat "%{VERSION}"` +COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 -d allow_url_fopen=1 /usr/local/bin/composer require johndoh/contextmenu --with-all-dependencies --no-interaction +COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 -d allow_url_fopen=1 /usr/local/bin/composer require johndoh/globaladdressbook ~2.1 --with-all-dependencies --no-interaction +COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 -d allow_url_fopen=1 /usr/local/bin/composer require roundcube/larry ~1.6.0 --with-all-dependencies --no-interaction +COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 -d allow_url_fopen=1 /usr/local/bin/composer require bennet0496/nextcloud_attachments --with-all-dependencies --no-interaction +COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 -d allow_url_fopen=1 /usr/local/bin/composer self-update --no-interaction +COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php81 -d allow_url_fopen=1 /usr/local/bin/composer update --with-all-dependencies --no-interaction cd $pathroundcube