Jean-Philippe Pialasse
8a2ffdf6c5
- initial version for SME11 [SME: ] - build and require rpm for plugins and skins - TODO: allow custom server IMAP/SMTP - TODO: Install deps without symphony
15 lines
1.1 KiB
Bash
Executable File
15 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
pathroundcube=$(pwd)
|
|
cd /usr/share/roundcubemail
|
|
# 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}"`
|
|
# all those are supported using rpm
|
|
#COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php83 -d allow_url_fopen=1 /usr/bin/composer require johndoh/contextmenu --with-all-dependencies --no-interaction
|
|
#COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php83 -d allow_url_fopen=1 /usr/bin/composer require johndoh/globaladdressbook ~2.1 --with-all-dependencies --no-interaction
|
|
#COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php83 -d allow_url_fopen=1 /usr/bin/composer require roundcube/larry ~1.6.0 --with-all-dependencies --no-interaction
|
|
#COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php83 -d allow_url_fopen=1 /usr/bin/composer require bennet0496/nextcloud_attachments --with-all-dependencies --no-interaction
|
|
COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php83 -d allow_url_fopen=1 /usr/bin/composer update --with-all-dependencies --no-interaction
|
|
cd $pathroundcube
|
|
|