From 80e2fadf12ad3c863f13b92c7d83c7410781a428 Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Fri, 31 Dec 2021 07:13:06 +0100 Subject: [PATCH] Detect current version as upgrade information Add step for troubleshooting notes --- seqs/roundcube.sh | 74 ++++++++++++++++++++++++++++++++--------------- 1 file changed, 51 insertions(+), 23 deletions(-) diff --git a/seqs/roundcube.sh b/seqs/roundcube.sh index 3ff7a89..9980095 100755 --- a/seqs/roundcube.sh +++ b/seqs/roundcube.sh @@ -91,28 +91,53 @@ exit 0 step_10_info() { echo "Configuration notes"; } step_10_alias() { ALIAS="notes"; } step_10() { - echo "# smtp port if missing after installation" - echo" [$RC_LOC/config/config.inc.php]" - echo ' // SMTP port (default is 25; use 587 for STARTTLS or 465 for the' - echo ' // deprecated SSL over SMTP (aka SMTPS))' - echo " \$config['smtp_port'] = 465;" - echo - echo "# Enable two factor auth (installed with step config) for all user" - echo " [$RC_LOC/plugins/twofactor_gauthenticator/config.inc.php]" - echo " $rcmail_config['users_allowed_2FA'] = array('.*');" - echo - echo "# Add mobile skin to roundcube" - echo " cd ${RC_LOC}" - echo " git clone https://github.com/messagerie-melanie2/Roundcube-Skin-Melanie2-Larry-Mobile.git skins/melanie2_larry_mobile" - echo "# Install pspell and aspell spell check engine" - echo " apt install php7.x-pspell aspell-en aspell-de" - echo - echo " [$RC_LOC/config/config.inc.php]" - echo " \$config['spellcheck_engine'] = 'pspell';" - echo " \$config['spellcheck_languages'] = array(" - echo " 'en' => 'English'," - echo " 'de' => 'Deutsch'," - echo " );" + outColor green + cat < 'English', + 'de' => 'Deutsch', + ); +NOTES_END +} + +step_12_info() { echo "Troubleshooting"; } +step_12_alias() { ALIAS="trouble"; } +step_12() { + outColor green + cat <