- Fix calendar & http_authentication: update plugin orger in config.

This commit is contained in:
2026-10-16 13:03:44 +02:00
parent 425a977a5b
commit 75ee38963e
3 changed files with 5 additions and 4 deletions

View File

@@ -116,8 +116,9 @@ RUN . /etc/profile.d/rx3.sh && isl --add ${IMG_URL}
&& sed -i -e "s/^\$config\['imap_host'\].*/\$config['imap_host'] = 'RCM_CONFIG_IMAP';/" "${RCM_CONFIG_FILE}" \
&& sed -i -e "s/^\$config\['product_name'\].*/\$config['product_name'] = 'RCM_CONFIG_NAME';/" "${RCM_CONFIG_FILE}" \
&& sed -i -e "s%^\$config\['enigma_pgp_homedir'\].*%\$config['enigma_pgp_homedir'] = '${RCM_ENIGMA_DIR}';%" "${RCM_CONFIG_DIR}/enigma.inc.php" \
&& sed -i -e "/^ 'archive',/a\ 'http_authentication',\n 'libcalendaring',\n 'password'," "${RCM_CONFIG_FILE}" \
&& sed -i -e "/^ 'archive',/a\ 'calendar',\n 'carddav',\n 'emoticons',\n 'enigma'," "${RCM_CONFIG_FILE}" \
&& sed -i -e "s/^ 'archive',/ 'http_authentication',\n 'archive',/" "${RCM_CONFIG_FILE}" \
&& sed -i -e "/^ 'archive',/a\ 'emoticons',\n 'enigma',\n 'libcalendaring',\n 'password'," "${RCM_CONFIG_FILE}" \
&& sed -i -e "/^ 'archive',/a\ 'calendar',\n 'carddav'," "${RCM_CONFIG_FILE}" \
&& echo -e "\n\$config['htmleditor'] = 4;" >> "${RCM_CONFIG_FILE}" \
&& echo -e "\n\$config['enable_installer'] = false;" >> "${RCM_CONFIG_FILE}" \
&& sed -i -e "s|// vim:|// RCM_CARDDAV_CONFIG\n// vim:|" "${RCM_CONFIG_DIR}/carddav.inc.php" \