[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master a763789: gnu-elpa-keyring-update: Circumvent bug#35495
From: |
Stefan Monnier |
Subject: |
[elpa] master a763789: gnu-elpa-keyring-update: Circumvent bug#35495 |
Date: |
Mon, 29 Apr 2019 16:14:07 -0400 (EDT) |
branch: master
commit a763789c17b62dbdba2e9de1d5b2c5ac446ad213
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
gnu-elpa-keyring-update: Circumvent bug#35495
* etc/gnu-elpa.gpg-keyring: Rename from etc/gnu-elpa-keyring.gpg.
* gnu-elpa-keyring-update.el (gnu-elpa-keyring-update--keyring):
Update accordingly.
---
.../etc/{gnu-elpa-keyring.gpg => gnu-elpa.gpg-keyring} | Bin
packages/gnu-elpa-keyring-update/gnu-elpa-keyring-update.el | 9 ++++++---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/packages/gnu-elpa-keyring-update/etc/gnu-elpa-keyring.gpg
b/packages/gnu-elpa-keyring-update/etc/gnu-elpa.gpg-keyring
similarity index 100%
rename from packages/gnu-elpa-keyring-update/etc/gnu-elpa-keyring.gpg
rename to packages/gnu-elpa-keyring-update/etc/gnu-elpa.gpg-keyring
diff --git a/packages/gnu-elpa-keyring-update/gnu-elpa-keyring-update.el
b/packages/gnu-elpa-keyring-update/gnu-elpa-keyring-update.el
index 3d1ea5d..4147cb8 100644
--- a/packages/gnu-elpa-keyring-update/gnu-elpa-keyring-update.el
+++ b/packages/gnu-elpa-keyring-update/gnu-elpa-keyring-update.el
@@ -43,11 +43,14 @@
;;;###autoload
(defvar gnu-elpa-keyring-update--keyring
- (let ((kr (expand-file-name "etc/gnu-elpa-keyring.gpg"
+ ;; FIXME: Avoid using a `.gpg' extension, because it triggers a bug in
+ ;; tar-untar-buffer (which is used internally by `package.el' when installing
+ ;; the package).
+ (let ((kr (expand-file-name "etc/gnu-elpa.gpg-keyring"
(file-name-directory load-file-name))))
(if (and load-file-name (file-readable-p kr))
kr
- "etc/gnu-elpa-keyring.gpg")))
+ "etc/gnu-elpa.gpg-keyring")))
(defun gnu-elpa-keyring-update--keyring (&optional noerror)
(if (and (file-name-absolute-p gnu-elpa-keyring-update--keyring)
@@ -62,7 +65,7 @@
(if (file-readable-p kr)
(setq gnu-elpa-keyring-update--keyring kr)
(unless noerror
- (error "Can't find the keyring.gpg file with the new keys"))))))
+ (error "Can't find the gpg-keyring file with the new keys"))))))
;;;###autoload
(defun gnu-elpa-keyring-update ()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] master a763789: gnu-elpa-keyring-update: Circumvent bug#35495,
Stefan Monnier <=