[pacman-dev] [PATCH] Compress hard linked man pages
Dan McGee
dpmcgee at gmail.com
Tue Dec 4 20:53:09 EST 2007
On Dec 4, 2007 7:09 PM, Andrew Fyfe <andrew at neptune-one.net> wrote:
> Dan McGee wrote:
> > I added usr/share/man to the list as it is supposed to be the standard
> > location for manpages (even though we move them above). BTW- why do we
> > move them, Aaron? This uncovered another bug which I will explain
> > below.
> I asked this a long time ago, the answer I got was "it's the arch way"
>
> > I didn't like having to parse ls output (and start another process)
> > just to get an inode number, so I changed it to use the -samefile test
> > of find. When doing this, I realized that because we execute our
> > makepkg script with the -e option, returning an error code causes
> > hardlinks to get set to nothing, and thus we don't do any file removal
> > or creation. Thus the '|| true' and my comment above, which is similar
> > to a construct used during the getopts call (Andrew, I believe you did
> > that).
> Yes that's correct.
If no one has objections, this will probably move to master tonight.
Thanks to all that helped contribute and test!
-Dan
More information about the pacman-dev
mailing list