aboutsummaryrefslogtreecommitdiff
path: root/src/lpm.lua
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2022-12-30 15:01:09 -0500
committerAdam Harrison <adamdharrison@gmail.com>2022-12-30 15:01:09 -0500
commiteec2fe103b82e3e76175aa7bcaacb85734602f75 (patch)
treea166aeaf9c17e7ec648ecefc8b0bf74bd3c2e403 /src/lpm.lua
parent8d198d903cbfb52cffd74331e2c118c389e69757 (diff)
downloadlite-xl-plugin-manager-eec2fe103b82e3e76175aa7bcaacb85734602f75.tar.gz
lite-xl-plugin-manager-eec2fe103b82e3e76175aa7bcaacb85734602f75.zip
Routed through FS for mac.
Diffstat (limited to 'src/lpm.lua')
-rw-r--r--src/lpm.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index d882613..d875cdf 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -1662,7 +1662,7 @@ in any circumstance unless explicitly supplied.
"/etc/ssl/ca-bundle.pem", -- OpenSUSE
"/etc/pki/tls/cacert.pem", -- OpenELEC
"/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem", -- CentOS/RHEL 7
- "/etc/ssl/cert.pem", -- Alpine Linux
+ "/etc/ssl/cert.pem", -- Alpine Linux (and Mac OSX)
"/etc/ssl/certs", -- SLES10/SLES11, https://golang.org/issue/12139
"/system/etc/security/cacerts", -- Android
"/usr/local/share/certs", -- FreeBSD
@@ -1670,7 +1670,7 @@ in any circumstance unless explicitly supplied.
"/etc/openssl/certs", -- NetBSD
"/var/ssl/certs", -- AIX
}
- if PLATFORM == "windows" or PLATFORM == "darwin" then
+ if PLATFORM == "windows" then
common.mkdirp(TMPDIR)
system.certs("system", TMPDIR .. PATHSEP .. "certs.crt")
else