2024-09-02 06:01:36 +02:00
|
|
|
#!/bin/bash
|
2024-09-13 21:20:51 +02:00
|
|
|
# prevents setting error_reporting in 1.6; removed in newer versions
|
|
|
|
/usr/bin/sed -i -e 's/^.*error_reporting.*$/ \/\/rem/' /usr/share/roundcubemail/program/lib/Roundcube/bootstrap.php
|
|
|
|
# update composer
|
2024-09-20 17:13:53 +02:00
|
|
|
|
2024-12-15 00:09:44 +01:00
|
|
|
# if installed before user apache becoem an alias of www 102
|
|
|
|
/bin/rpm --setugids roundcubemail
|
|
|
|
/bin/rpm --setperms roundcubemail
|
|
|
|
|
2024-09-20 06:32:01 +02:00
|
|
|
# disabled by default for SME11 as we would rather the stability of rpms
|
|
|
|
#/usr/bin/rcplugin_update.sh
|
2024-09-20 17:13:53 +02:00
|
|
|
|
|
|
|
# prevent bug with spell checker: An error was encountered on the server. Please try again later.
|
2024-12-15 00:09:44 +01:00
|
|
|
pushd /usr/share/myspell >/dev/null
|
2024-09-20 17:13:53 +02:00
|
|
|
[ -f en.dic ] || ln -s en_US.dic en.dic
|
|
|
|
[ -f en.aff ] || ln -s en_US.aff en.aff
|
2024-12-15 00:09:44 +01:00
|
|
|
popd >/dev/null
|
2024-09-20 17:13:53 +02:00
|
|
|
|