download_strategy: adjust --insecure warning wording

Co-authored-by: Rylan Polster <rslpolster@gmail.com>
This commit is contained in:
Bo Anderson 2021-10-04 19:47:04 +01:00
parent 373b0da4d5
commit 5137244c92
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

View File

@ -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"]