mirror of
https://github.com/correl/melpa.git
synced 2024-11-14 19:19:32 +00:00
Fix accidental breakage of implicitly multi-file packages like magit
This commit is contained in:
parent
d6946fec11
commit
84240090e4
1 changed files with 3 additions and 1 deletions
|
@ -362,7 +362,9 @@ If PKG-INFO is nil, an empty one is created."
|
|||
(cond
|
||||
((not version)
|
||||
(print (format "Unable to check out repository for %s" name)))
|
||||
((< (length files) 2)
|
||||
((or (and (eq 'wiki (plist-get cfg :fetcher))
|
||||
(< (length files) 2))
|
||||
(= 1 (length files)))
|
||||
(let* ((pkgsrc (expand-file-name (or (car files)
|
||||
(concat file-name ".el"))
|
||||
pkg-cwd))
|
||||
|
|
Loading…
Reference in a new issue