mirror of
				https://github.com/zokradonh/kopano-docker
				synced 2025-10-29 17:37:28 +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
					
				
							
								
								
									
										20
									
								
								setup.sh
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								setup.sh
									
									
									
									
									
								
							| @ -37,7 +37,7 @@ docker_tag_search() { | |||||||
| 
 | 
 | ||||||
| if [ ! -e /etc/machine-id ]; then | if [ ! -e /etc/machine-id ]; then | ||||||
| 	echo "This compose file uses /etc/machine-id to identify the system its running on. The file does not seem to exist on your system, please create it." | 	echo "This compose file uses /etc/machine-id to identify the system its running on. The file does not seem to exist on your system, please create it." | ||||||
| 	exit 1  | 	exit 1 | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
| echo "Creating individual env files for containers (if they do not exist already)" | echo "Creating individual env files for containers (if they do not exist already)" | ||||||
| @ -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