forked from ungleich-public/cdist
		
	[locale/alpine] exit 0 in gencode-remote
This commit is contained in:
		
					parent
					
						
							
								e290733a00
							
						
					
				
			
			
				commit
				
					
						a1cb9ee869
					
				
			
		
					 1 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
					@ -37,6 +37,15 @@ locale_remove=$(echo "$locale" | sed 's/UTF-8/utf8/')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
state=$(cat "$__object/parameter/state")
 | 
					state=$(cat "$__object/parameter/state")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					os=$(cat "$__global/explorer/os")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Nothing to be done on alpine
 | 
				
			||||||
 | 
					case "$os" in
 | 
				
			||||||
 | 
					    alpine)
 | 
				
			||||||
 | 
					        exit 0
 | 
				
			||||||
 | 
					        ;;
 | 
				
			||||||
 | 
					esac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
case "$state" in
 | 
					case "$state" in
 | 
				
			||||||
    present)
 | 
					    present)
 | 
				
			||||||
        echo localedef -A "$alias" -f "$charmap" -i "$input" "$locale"
 | 
					        echo localedef -A "$alias" -f "$charmap" -i "$input" "$locale"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue