Skip to content

Commit 28da895

Browse files
committed
Remove obsolete debian 8 if condition.
1 parent d8c43d3 commit 28da895

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

install/hst-install-debian.sh

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)