MCPcopy Create free account
hub / github.com/anchordotdev/cli / certutilInstallHelp

Function certutilInstallHelp

truststore/platform_linux.go:39–49  ·  view source on GitHub ↗
(sysFS CmdFS)

Source from the content-addressed store, hash-verified

37}
38
39func certutilInstallHelp(sysFS CmdFS) string {
40 switch {
41 case binaryExists(sysFS, "apt"):
42 return "apt install libnss3-tools"
43 case binaryExists(sysFS, "yum"):
44 return "yum install nss-tools"
45 case binaryExists(sysFS, "zypper"):
46 return "zypper install mozilla-nss-tools"
47 }
48 return ""
49}
50
51func (s *Platform) Description() string { return "System (Linux)" }
52

Callers 2

initMethod · 0.70
initMethod · 0.70

Calls 1

binaryExistsFunction · 0.85

Tested by

no test coverage detected