mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 16:06:14 +00:00
remove scripting for obsolete spell checking plugin in kopano webapp (#439)
Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
parent
1d80122e51
commit
5f3ee5ef56
18
setup.sh
18
setup.sh
@ -217,24 +217,6 @@ if [ ! -e ./.env ]; then
|
|||||||
|
|
||||||
ADDITIONAL_KOPANO_WEBAPP_PLUGINS=""
|
ADDITIONAL_KOPANO_WEBAPP_PLUGINS=""
|
||||||
|
|
||||||
prompt="Check language spell support (again to uncheck, ENTER when done): "
|
|
||||||
while lang_menu && read -rp "$prompt" num && [[ "$num" ]]; do
|
|
||||||
# shellcheck disable=SC2015
|
|
||||||
[[ "$num" != *[![:digit:]]* ]] &&
|
|
||||||
(( num > 0 && num <= ${#LANG_OPTIONS[@]} )) ||
|
|
||||||
{ msg="Invalid option: $num"; continue; }
|
|
||||||
((num--)); msg="${LANG_OPTIONS[num]} was ${lang_choices[num]:+un}checked"
|
|
||||||
[[ "${lang_choices[num]}" ]] && lang_choices[num]="" || lang_choices[num]="+"
|
|
||||||
done
|
|
||||||
|
|
||||||
KOPANO_SPELL_PLUGIN=""
|
|
||||||
KOPANO_SPELL_LANG_PLUGIN=""
|
|
||||||
for i in "${!LANG_OPTIONS[@]}"; do
|
|
||||||
[[ "${lang_choices[i]}" ]] && { KOPANO_SPELL_LANG_PLUGIN="${KOPANO_SPELL_LANG_PLUGIN} kopano-webapp-plugin-spell-${LANG_OPTIONS[i]}"; KOPANO_SPELL_PLUGIN="kopano-webapp-plugin-spell"; }
|
|
||||||
done
|
|
||||||
|
|
||||||
ADDITIONAL_KOPANO_WEBAPP_PLUGINS="${KOPANO_SPELL_PLUGIN}${KOPANO_SPELL_LANG_PLUGIN}"
|
|
||||||
|
|
||||||
prompt="Check for additional plugins (again to uncheck, ENTER when done): "
|
prompt="Check for additional plugins (again to uncheck, ENTER when done): "
|
||||||
while plugin_menu && read -rp "$prompt" num && [[ "$num" ]]; do
|
while plugin_menu && read -rp "$prompt" num && [[ "$num" ]]; do
|
||||||
# shellcheck disable=SC2015
|
# shellcheck disable=SC2015
|
||||||
|
Loading…
x
Reference in New Issue
Block a user