mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-04 15:54:48 +01:00
Install latest roundcube (master) which supports php 8.1
This commit is contained in:
@@ -146,14 +146,6 @@ init_miab_testing() {
|
||||
rc=1
|
||||
fi
|
||||
|
||||
if array_contains "--qa-ca" "$@"; then
|
||||
echo "Copy certificate authority"
|
||||
if ! cp tests/assets/ssl/ca_*.pem $STORAGE_ROOT/ssl; then
|
||||
echo "Copy failed ($?)"
|
||||
rc=1
|
||||
fi
|
||||
fi
|
||||
|
||||
# create miab_ldap.conf to specify what the Nextcloud LDAP service
|
||||
# account password will be to avoid a random one created by start.sh
|
||||
if [ ! -z "$LDAP_NEXTCLOUD_PASSWORD" ]; then
|
||||
@@ -169,6 +161,35 @@ init_miab_testing() {
|
||||
fi
|
||||
fi
|
||||
|
||||
# process command line args
|
||||
while [ $# -gt 0 ]; do
|
||||
case "$1" in
|
||||
--qa-ca )
|
||||
echo "Copy certificate authority"
|
||||
shift
|
||||
if ! cp tests/assets/ssl/ca_*.pem $STORAGE_ROOT/ssl; then
|
||||
echo "Copy failed ($?)"
|
||||
rc=1
|
||||
fi
|
||||
;;
|
||||
|
||||
--enable-mod=* )
|
||||
local mod="$(awk -F= '{print $2}' <<<"$1")"
|
||||
shift
|
||||
echo "Enabling local mod '$mod'"
|
||||
if ! enable_miab_mod "$mod"; then
|
||||
echo "Enabling mod '$mod' failed"
|
||||
rc=1
|
||||
fi
|
||||
;;
|
||||
|
||||
* )
|
||||
# ignore unknown option - may be interpreted elsewhere
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# now that we've copied our files, unmount STORAGE_ROOT if
|
||||
# encryption-at-rest was enabled
|
||||
ehdd/umount.sh
|
||||
|
||||
Reference in New Issue
Block a user