repo-add: sort file list entries
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
01a6502169
commit
585bd89803
1 changed files with 1 additions and 1 deletions
|
@ -455,7 +455,7 @@ db_write_entry() {
|
|||
msg2 "$(gettext "Creating '%s' db entry...")" 'files'
|
||||
local files_path="$tmpdir/files/$pkgname-$pkgver/files"
|
||||
echo "%FILES%" >"$files_path"
|
||||
bsdtar --exclude='^.*' -tf "$pkgfile" >>"$files_path"
|
||||
bsdtar --exclude='^.*' -tf "$pkgfile" | LC_ALL=C sort -u >>"$files_path"
|
||||
|
||||
if (( RMEXISTING )); then
|
||||
msg2 "$(gettext "Removing old package file '%s'")" "$oldfilename"
|
||||
|
|
Loading…
Add table
Reference in a new issue