 Gerardo
					
					6 years ago
						Gerardo
					
					6 years ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
				  
				  No known key found for this signature in database
				  
				  	
						GPG Key ID: 4AEE18F83AFDEB23
				  	
				  
				
			
		
		
		
	
		
			
				 1 changed files with 
2 additions and 
3 deletions
			 
			
		 
		
			
				- 
					
					
					 
					dnsapi/dns_aruba.sh
				
					
					
						
							
								
									
										
											
	
		
			
				
					|  |  | @ -110,7 +110,7 @@ dns_aruba_add() { | 
			
		
	
		
			
				
					|  |  |  |     return 1 | 
			
		
	
		
			
				
					|  |  |  |   fi | 
			
		
	
		
			
				
					|  |  |  |   _debug _domain "$_domain" | 
			
		
	
		
			
				
					|  |  |  |   _sub_domain="_acme-challenge"   | 
			
		
	
		
			
				
					|  |  |  |   _sub_domain="_acme-challenge" | 
			
		
	
		
			
				
					|  |  |  |   _debug "Check if _acme-challenge record exists in " "$_domain" | 
			
		
	
		
			
				
					|  |  |  |   if ! _extract_record_id "$_sub_domain.$_domain."; then | 
			
		
	
		
			
				
					|  |  |  |     _method="POST" | 
			
		
	
	
		
			
				
					|  |  | @ -176,8 +176,7 @@ _extract_record_id() { | 
			
		
	
		
			
				
					|  |  |  |       _info "Found txt record id: $_arrayId" | 
			
		
	
		
			
				
					|  |  |  |     fi | 
			
		
	
		
			
				
					|  |  |  |     j=$(_math "$j" + 1) | 
			
		
	
		
			
				
					|  |  |  |   done | 
			
		
	
		
			
				
					|  |  |  |    | 
			
		
	
		
			
				
					|  |  |  |   done   | 
			
		
	
		
			
				
					|  |  |  |   n=0 | 
			
		
	
		
			
				
					|  |  |  |   for i in $ARRAY_IDS; do | 
			
		
	
		
			
				
					|  |  |  |     if [ "$n" = "$_arrayId" ]; then | 
			
		
	
	
		
			
				
					|  |  | 
 |