pacman/scripts
Eli Schwartz 0272fca993 makepkg: do not count hard links multiple times when calculating pkg size
Exclude files with hardlinks when cat'ing all the files, and do a second
run to look at each file with hardlinks, keep track of the ones we've
already operated on, and only cat each inode once. Then use "wc -c" to get
the size of all (deduplicated) files the same way we were already doing.

Original-patch-by: Ronan Pigott <rpigott@berkeley.edu>
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
2019-10-30 10:03:46 +10:00
..
completion Remove --force from completion 2019-10-23 22:06:54 +10:00
libmakepkg makepkg: do not count hard links multiple times when calculating pkg size 2019-10-30 10:03:46 +10:00
library scripts/library: fix typo in README 2018-12-10 11:12:27 +10:00
po Final translation updates for pacman-5.2.0 2019-10-21 17:25:29 +10:00
.gitignore libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
libmakepkg.pc.in libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
Makefile.am makepkg: do not count hard links multiple times when calculating pkg size 2019-10-30 10:03:46 +10:00
makepkg-template.pl.in Update copyright years 2019-10-23 22:06:54 +10:00
makepkg.sh.in makepkg: do not count hard links multiple times when calculating pkg size 2019-10-30 10:03:46 +10:00
meson.build libmakepkg: install pkg-config file 2019-05-08 12:46:33 +10:00
pacman-db-upgrade.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
pacman-key.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
repo-add.sh.in Update copyright years 2019-10-23 22:06:54 +10:00
wrapper.sh.in Update copyright years 2019-10-23 22:06:54 +10:00