mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-05-21 05:28:58 +02:00
reduce duplicated lines
This commit is contained in:
@@ -130,23 +130,20 @@ EOF
|
|||||||
if [ "${DISABLE_NEXTCLOUD}" == "0" ]; then
|
if [ "${DISABLE_NEXTCLOUD}" == "0" ]; then
|
||||||
cat >> $RCM_CONFIG <<EOF;
|
cat >> $RCM_CONFIG <<EOF;
|
||||||
\$config['plugins'] = array('html5_notifier', 'archive', 'zipdownload', 'password', 'managesieve', 'jqueryui', 'persistent_login');
|
\$config['plugins'] = array('html5_notifier', 'archive', 'zipdownload', 'password', 'managesieve', 'jqueryui', 'persistent_login');
|
||||||
\$config['skin'] = 'larry';
|
|
||||||
\$config['login_autocomplete'] = 2;
|
|
||||||
\$config['password_charset'] = 'UTF-8';
|
|
||||||
\$config['junk_mbox'] = 'Spam';
|
|
||||||
?>
|
|
||||||
EOF
|
EOF
|
||||||
else
|
else
|
||||||
cat >> $RCM_CONFIG <<EOF;
|
cat >> $RCM_CONFIG <<EOF;
|
||||||
\$config['plugins'] = array('html5_notifier', 'archive', 'zipdownload', 'password', 'managesieve', 'jqueryui', 'persistent_login', 'carddav');
|
\$config['plugins'] = array('html5_notifier', 'archive', 'zipdownload', 'password', 'managesieve', 'jqueryui', 'persistent_login', 'carddav');
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
|
||||||
|
cat >> $RCM_CONFIG <<EOF;
|
||||||
\$config['skin'] = 'larry';
|
\$config['skin'] = 'larry';
|
||||||
\$config['login_autocomplete'] = 2;
|
\$config['login_autocomplete'] = 2;
|
||||||
\$config['password_charset'] = 'UTF-8';
|
\$config['password_charset'] = 'UTF-8';
|
||||||
\$config['junk_mbox'] = 'Spam';
|
\$config['junk_mbox'] = 'Spam';
|
||||||
?>
|
?>
|
||||||
EOF
|
EOF
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# Configure CardDav
|
# Configure CardDav
|
||||||
if [ "${DISABLE_NEXTCLOUD}" != "0" ]; then
|
if [ "${DISABLE_NEXTCLOUD}" != "0" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user