mirror of
https://github.com/correl/melpa.git
synced 2024-11-28 11:09:55 +00:00
Add error message if the package cannot be found.
This commit is contained in:
parent
5455a7696e
commit
c1fdb43d59
1 changed files with 77 additions and 78 deletions
|
@ -249,7 +249,7 @@
|
||||||
(file-name-as-directory
|
(file-name-as-directory
|
||||||
(expand-file-name file-name package-build-working-dir))))
|
(expand-file-name file-name package-build-working-dir))))
|
||||||
|
|
||||||
(when cfg
|
(if cfg
|
||||||
(let* ((repo-type (plist-get cfg :fetcher))
|
(let* ((repo-type (plist-get cfg :fetcher))
|
||||||
(repo-url (plist-get cfg :url))
|
(repo-url (plist-get cfg :url))
|
||||||
(files (plist-get cfg :files))
|
(files (plist-get cfg :files))
|
||||||
|
@ -324,10 +324,9 @@
|
||||||
files)
|
files)
|
||||||
|
|
||||||
(delete-directory pkg-dir t nil)
|
(delete-directory pkg-dir t nil)
|
||||||
(package-build-add-to-archive-contents pkg-info 'tar))
|
(package-build-add-to-archive-contents pkg-info 'tar))))
|
||||||
|
(package-build-dump-archive-contents))
|
||||||
)))
|
(message "\nERROR: Cannot find package %s\n" file-name))))
|
||||||
(package-build-dump-archive-contents))))
|
|
||||||
|
|
||||||
|
|
||||||
(defvar package-build-alist
|
(defvar package-build-alist
|
||||||
|
|
Loading…
Reference in a new issue