mirror of
https://github.com/correl/melpa.git
synced 2024-12-23 11:14:57 +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
|
||||
((not version)
|
||||
(print (format "Unable to check out repository for %s" name)))
|
||||
((= 1 (length files))
|
||||
(let* ((pkgsrc (expand-file-name (car files) pkg-cwd))
|
||||
((or (eq 'wiki (plist-get cfg :fetcher))
|
||||
(= 1 (length files)))
|
||||
(let* ((pkgsrc (expand-file-name (or (car files)
|
||||
(concat file-name ".el"))
|
||||
pkg-cwd))
|
||||
(pkgdst (expand-file-name
|
||||
(concat file-name "-" version ".el")
|
||||
package-build-archive-dir))
|
||||
|
|
Loading…
Reference in a new issue