fix indentation

This commit is contained in:
dkoao 2019-09-27 09:54:03 +00:00
parent e2d8fd5665
commit 97ac5553e4
1 changed files with 22 additions and 22 deletions

View File

@ -129,12 +129,12 @@ 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');
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 EOF
fi fi
cat >> $RCM_CONFIG <<EOF; cat >> $RCM_CONFIG <<EOF;
@ -149,24 +149,24 @@ EOF
if [ "${DISABLE_NEXTCLOUD}" != "0" ]; then if [ "${DISABLE_NEXTCLOUD}" != "0" ]; then
cat > ${RCM_PLUGIN_DIR}/carddav/config.inc.php <<EOF; cat > ${RCM_PLUGIN_DIR}/carddav/config.inc.php <<EOF;
<?php <?php
/* Do not edit. Written by Mail-in-a-Box. Regenerated on updates. */ /* Do not edit. Written by Mail-in-a-Box. Regenerated on updates. */
\$prefs['_GLOBAL']['hide_preferences'] = true; \$prefs['_GLOBAL']['hide_preferences'] = true;
\$prefs['_GLOBAL']['suppress_version_warning'] = true; \$prefs['_GLOBAL']['suppress_version_warning'] = true;
\$prefs['ownCloud'] = array( \$prefs['ownCloud'] = array(
'name' => 'ownCloud', 'name' => 'ownCloud',
'username' => '%u', // login username 'username' => '%u', // login username
'password' => '%p', // login password 'password' => '%p', // login password
'url' => 'https://${PRIMARY_HOSTNAME}/cloud/remote.php/carddav/addressbooks/%u/contacts', 'url' => 'https://${PRIMARY_HOSTNAME}/cloud/remote.php/carddav/addressbooks/%u/contacts',
'active' => true, 'active' => true,
'readonly' => false, 'readonly' => false,
'refresh_time' => '02:00:00', 'refresh_time' => '02:00:00',
'fixed' => array('username','password'), 'fixed' => array('username','password'),
'preemptive_auth' => '1', 'preemptive_auth' => '1',
'hide' => false, 'hide' => false,
); );
?> ?>
EOF EOF
fi fi
# Create writable directories. # Create writable directories.