diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-09-13 23:02:36 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-09-14 17:25:29 -0400 |
commit | 4a02350ded318bdc1da5421551784ab2a10dd96b (patch) | |
tree | 1a3579a2802490add5a06ccb99b40bb7ba47bb60 /test/pacman/tests/upgrade053.py | |
parent | d1e04c1b677d733262a0436ed9b25b2e7eada15e (diff) |
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 'test/pacman/tests/upgrade053.py')
0 files changed, 0 insertions, 0 deletions