mirror of
				https://github.com/uklans/cache-domains
				synced 2025-11-04 13:28:51 +01:00 
			
		
		
		
	Fix missing condition.
This commit is contained in:
		
							parent
							
								
									b893e48dbd
								
							
						
					
					
						commit
						824f129124
					
				@ -51,6 +51,7 @@ while read entry; do
 | 
				
			|||||||
			outputfile=${outputdir}/${destfilename}
 | 
								outputfile=${outputdir}/${destfilename}
 | 
				
			||||||
			touch $outputfile
 | 
								touch $outputfile
 | 
				
			||||||
			
 | 
								
 | 
				
			||||||
 | 
								if $forward; then
 | 
				
			||||||
				echo 'forward-zone:' > $outputfile
 | 
									echo 'forward-zone:' > $outputfile
 | 
				
			||||||
				echo "  name: \"${key}.cache.lancache.net.\"" >> $outputfile
 | 
									echo "  name: \"${key}.cache.lancache.net.\"" >> $outputfile
 | 
				
			||||||
				for i in ${cacheip}; do
 | 
									for i in ${cacheip}; do
 | 
				
			||||||
@ -58,6 +59,7 @@ while read entry; do
 | 
				
			|||||||
				done
 | 
									done
 | 
				
			||||||
				echo "  forward-first: yes" >> $outputfile
 | 
									echo "  forward-first: yes" >> $outputfile
 | 
				
			||||||
				echo "  forward-no-cache: yes" >> $outputfile
 | 
									echo "  forward-no-cache: yes" >> $outputfile
 | 
				
			||||||
 | 
								fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			while read fileentry; do
 | 
								while read fileentry; do
 | 
				
			||||||
				# Ignore comments and newlines
 | 
									# Ignore comments and newlines
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user