mirror of
https://github.com/correl/melpa.git
synced 2024-12-23 19:19:51 +00:00
Ensure that single-file wiki packages aren't bundled unnecessarily as tars
This commit is contained in:
parent
3fc3a0200e
commit
c070959b20
1 changed files with 5 additions and 2 deletions
|
@ -274,8 +274,11 @@ In turn, this function uses the :fetcher option in the config to choose a
|
||||||
(cond
|
(cond
|
||||||
((not version)
|
((not version)
|
||||||
(print (format "Unable to check out repository for %s" name)))
|
(print (format "Unable to check out repository for %s" name)))
|
||||||
((= 1 (length files))
|
((or (eq 'wiki (plist-get cfg :fetcher))
|
||||||
(let* ((pkgsrc (expand-file-name (car files) pkg-cwd))
|
(= 1 (length files)))
|
||||||
|
(let* ((pkgsrc (expand-file-name (or (car files)
|
||||||
|
(concat file-name ".el"))
|
||||||
|
pkg-cwd))
|
||||||
(pkgdst (expand-file-name
|
(pkgdst (expand-file-name
|
||||||
(concat file-name "-" version ".el")
|
(concat file-name "-" version ".el")
|
||||||
package-build-archive-dir))
|
package-build-archive-dir))
|
||||||
|
|
Loading…
Reference in a new issue