Skip to content

Commit

Permalink
Merge pull request #12 from BenStigsen/patch-1
Browse files Browse the repository at this point in the history
Add Solus OS support
  • Loading branch information
maraino authored Feb 4, 2022
2 parents d321bf0 + 744e2f5 commit 2ad2edd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions truststore_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ func init() {
} else if pathExists("/etc/ca-certificates/trust-source/anchors/") {
SystemTrustFilename = "/etc/ca-certificates/trust-source/anchors/%s.crt"
SystemTrustCommand = []string{"trust", "extract-compat"}
} else if pathExists("/etc/ssl/certs/") {
SystemTrustFilename = "/etc/ssl/certs/%s.crt"
SystemTrustCommand = []string{"trust", "extract-compat"}
}
if SystemTrustCommand != nil {
_, err := exec.LookPath(SystemTrustCommand[0])
Expand Down

0 comments on commit 2ad2edd

Please sign in to comment.