mirror of
https://github.com/correl/melpa.git
synced 2024-11-24 11:09:51 +00:00
parent
919bb8bb32
commit
4e5b2905b4
1 changed files with 4 additions and 3 deletions
|
@ -714,10 +714,11 @@ FILES is a list of (SOURCE . DEST) relative filepath pairs."
|
|||
cfg)))
|
||||
(when (file-exists-p pkg-target)
|
||||
(delete-file pkg-target t))
|
||||
(with-temp-buffer
|
||||
(insert-file-contents pkg-source)
|
||||
(copy-file pkg-source pkg-target)
|
||||
(with-current-buffer (find-file pkg-target)
|
||||
(pb/update-or-insert-version version)
|
||||
(write-file pkg-target))
|
||||
(write-file pkg-target nil)
|
||||
(kill-buffer))
|
||||
|
||||
(pb/write-pkg-readme (and (> (length pkg-info) 4) (aref pkg-info 4))
|
||||
file-name)
|
||||
|
|
Loading…
Reference in a new issue