mirror of
https://github.com/correl/melpa.git
synced 2024-12-28 19:19:21 +00:00
Ignore duplicate files in tar.
Sometimes the name-pkg.el file is included but gets included twice because we also add our own version. This causes problems when installing. The `tar' will list both files and extract only one and the tar mode for Emacs doesn't behave nicely.
This commit is contained in:
parent
ca5608128f
commit
42ac78dad8
1 changed files with 1 additions and 1 deletions
|
@ -585,7 +585,7 @@ FILES is a list of (SOURCE . DEST) relative filepath pairs."
|
|||
(expand-file-name
|
||||
(concat file-name "-" version ".tar") package-build-archive-dir)
|
||||
pkg-dir
|
||||
(append (mapcar 'cdr files) (list pkg-file)))
|
||||
(delete-dups (append (mapcar 'cdr files) (list pkg-file))))
|
||||
|
||||
(delete-directory pkg-dir t nil)
|
||||
(pb/add-to-archive-contents pkg-info 'tar)))
|
||||
|
|
Loading…
Reference in a new issue