smeserver-roundcube/root/etc/e-smith/events/actions/roundcube-conf

19 lines
686 B
Plaintext
Raw Normal View History

#!/bin/bash
# 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
# if installed before user apache becoem an alias of www 102
/bin/rpm --setugids roundcubemail
/bin/rpm --setperms roundcubemail
# disabled by default for SME11 as we would rather the stability of rpms
#/usr/bin/rcplugin_update.sh
# prevent bug with spell checker: An error was encountered on the server. Please try again later.
pushd /usr/share/myspell >/dev/null
[ -f en.dic ] || ln -s en_US.dic en.dic
[ -f en.aff ] || ln -s en_US.aff en.aff
popd >/dev/null