diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2016-12-09 11:14:05 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2017-01-04 13:59:15 +1000 |
commit | 585bd89803a37380f51d625115b58db4012f4df3 (patch) | |
tree | 0ca98827cb5b25f36629fe39fd4494715423af88 /scripts | |
parent | 01a6502169f3e51ea52d60877528c5979898bbb3 (diff) | |
download | pacman-585bd89803a37380f51d625115b58db4012f4df3.tar.xz |
repo-add: sort file list entries
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/repo-add.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in index 5ffe1ba4..6333f6a2 100644 --- a/scripts/repo-add.sh.in +++ b/scripts/repo-add.sh.in @@ -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" |