Commit f858c585 authored by Andy Moreton's avatar Andy Moreton Committed by Dmitry Gutov

Fix check for package-unsigned-archives during retrieval

* lisp/emacs-lisp/package.el (package--download-one-archive):
Fix check for package-unsigned-archives.
parent 096eb7d6
......@@ -1529,7 +1529,7 @@ similar to an entry in `package-alist'. Save the cached copy to
(when (listp (read-from-string content))
(make-directory dir t)
(if (or (not package-check-signature)
(member archive package-unsigned-archives))
(member name package-unsigned-archives))
;; If we don't care about the signature, save the file and
;; we're done.
(progn (write-region content nil local-file nil 'silent)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment