File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -1603,31 +1603,6 @@ if [ "$dovecot" = 'yes' ] && [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
16031603 sed -i " s/%des_key%/$rcDesKey /g" /etc/roundcube/config.inc.php
16041604 sed -i " s/localhost/$servername /g" /etc/roundcube/plugins/password/config.inc.php
16051605 mysql roundcube < /usr/share/dbconfig-common/data/roundcube/install/mysql
1606-
1607- if [ " $release " -eq 8 ]; then
1608- # RoundCube tinyMCE fix
1609- tinymceFixArchiveURL=$HESTIA_INSTALL_DIR /roundcube/roundcube-tinymce.tar.gz
1610- tinymceParentFolder=/usr/share/roundcube/program/js
1611- tinymceFolder=$tinymceParentFolder /tinymce
1612- tinymceBadJS=$tinymceFolder /tiny_mce.js
1613- tinymceFixArchive=$tinymceParentFolder /roundcube-tinymce.tar.gz
1614- if [[ -L " $tinymceFolder " && -d " $tinymceFolder " ]]; then
1615- if [ -f " $tinymceBadJS " ]; then
1616- wget $tinymceFixArchiveURL -O $tinymceFixArchive
1617- if [[ -f " $tinymceFixArchive " && -s " $tinymceFixArchive " ]]
1618- then
1619- rm $tinymceFolder
1620- tar -xzf $tinymceFixArchive -C $tinymceParentFolder
1621- rm $tinymceFixArchive
1622- chown -R root:root $tinymceFolder
1623- else
1624- echo -n " File roundcube-tinymce.tar.gz is not downloaded,"
1625- echo " RoundCube tinyMCE fix is not applied"
1626- rm $tinymceFixArchive
1627- fi
1628- fi
1629- fi
1630- fi
16311606
16321607 # Enable Roundcube plugins
16331608 cp -f $HESTIA_INSTALL_DIR /roundcube/plugins/config_newmail_notifier.inc.php /etc/roundcube/plugins/newmail_notifier/config.inc.php
You can’t perform that action at this time.
0 commit comments