[Misc] Fix wrong regexp when updating certificates
This commit is contained in:
parent
699ce82d11
commit
e9e5e0455e
2
init.el
2
init.el
|
@ -657,7 +657,7 @@ to a directory, add all certificate files in it to
|
||||||
Certificates are assumed to be of the form *.crt."
|
Certificates are assumed to be of the form *.crt."
|
||||||
(set symbol new-value)
|
(set symbol new-value)
|
||||||
(when (file-directory-p new-value)
|
(when (file-directory-p new-value)
|
||||||
(dolist (cert-file (directory-files new-value t "*.crt$"))
|
(dolist (cert-file (directory-files new-value t ".crt$"))
|
||||||
(add-to-list 'gnutls-trustfiles cert-file))))
|
(add-to-list 'gnutls-trustfiles cert-file))))
|
||||||
|
|
||||||
(defcustom db/cert-file-directory "~/.local/etc/certs/"
|
(defcustom db/cert-file-directory "~/.local/etc/certs/"
|
||||||
|
|
Loading…
Reference in New Issue