mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-29 04:17:07 +00:00
reduce duplicated lines
This commit is contained in:
parent
b9d367adff
commit
86fef267f6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user