diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-09-14 05:02:36 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-09-14 23:25:29 +0200 |
commit | 4a02350ded318bdc1da5421551784ab2a10dd96b (patch) | |
tree | 1a3579a2802490add5a06ccb99b40bb7ba47bb60 /lib/libalpm/conflict.c | |
parent | d1e04c1b677d733262a0436ed9b25b2e7eada15e (diff) | |
download | pacman-4a02350ded318bdc1da5421551784ab2a10dd96b.tar.gz pacman-4a02350ded318bdc1da5421551784ab2a10dd96b.tar.xz |
makepkg: fix recreation of hardlinks to .gz manpages
4ed12ae tightened up the logic to use only find, but ignored the fact
that since the manpage hard link names were no longer captured. They
were created as separate compressed manpages, rather than as hardlinks.
This also introduces a minor efficiency of deleting all hardlinks at
once and using proper iteration over an array rather than a string.
Note to anyone else touching this code: e2fsprogs and libpcap are useful
for testing this. If that changes in the future, you can use the below
bash to locate others:
IFS=$'\n' read -rd '' -a a < <(find /usr/share/man -type f \! -links 1)
pacman -Qqo "${a[@]}" | sort -u
I broke it!
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'lib/libalpm/conflict.c')
0 files changed, 0 insertions, 0 deletions