1
0

feat: less verbose wget output

This commit is contained in:
dump_stack() 2023-05-18 22:31:34 +00:00
parent e767299222
commit b8817a4930
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -377,7 +377,7 @@ func Install(km config.Target, pkgname string, headers bool) (cmds []string, err
// TODO use faketime on old releases? // TODO use faketime on old releases?
pkg.Deb.URL = strings.Replace(pkg.Deb.URL, "https", "http", -1) pkg.Deb.URL = strings.Replace(pkg.Deb.URL, "https", "http", -1)
cmds = append(cmds, "wget "+ cmds = append(cmds, "wget --no-verbose "+
"--timeout=10 --waitretry=1 --tries=10 "+ "--timeout=10 --waitretry=1 --tries=10 "+
"--no-check-certificate "+pkg.Deb.URL) "--no-check-certificate "+pkg.Deb.URL)
} }