Merge pull request #12182 from Bo98/ds-wording
download_strategy: adjust --insecure warning wording
This commit is contained in:
		
						commit
						7d0d2dd878
					
				@ -547,7 +547,8 @@ class CurlDownloadStrategy < AbstractFileDownloadStrategy
 | 
			
		||||
    if meta[:insecure]
 | 
			
		||||
      unless @insecure_warning_shown
 | 
			
		||||
        opoo "Using --insecure with curl to download `ca-certificates` " \
 | 
			
		||||
             "because we need it installed to download securely."
 | 
			
		||||
             "because we need it installed to download securely from now on. " \
 | 
			
		||||
             "Checksums will still be verified."
 | 
			
		||||
        @insecure_warning_shown = true
 | 
			
		||||
      end
 | 
			
		||||
      args += ["--insecure"]
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user