mirror of
https://github.com/correl/melpa.git
synced 2024-11-24 19:19:52 +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)))
|
cfg)))
|
||||||
(when (file-exists-p pkg-target)
|
(when (file-exists-p pkg-target)
|
||||||
(delete-file pkg-target t))
|
(delete-file pkg-target t))
|
||||||
(with-temp-buffer
|
(copy-file pkg-source pkg-target)
|
||||||
(insert-file-contents pkg-source)
|
(with-current-buffer (find-file pkg-target)
|
||||||
(pb/update-or-insert-version version)
|
(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))
|
(pb/write-pkg-readme (and (> (length pkg-info) 4) (aref pkg-info 4))
|
||||||
file-name)
|
file-name)
|
||||||
|
|
Loading…
Reference in a new issue