FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

LinkBack Thread Tools
Old 05-26-2010, 07:58 AM
Samuli Suominen
Default Links to compressed files

On 05/26/2010 10:47 AM, Torsten Veller wrote:
>> src_install() {
>> doman mmv.1 || die
>> dosym mmv.1.gz /usr/share/man/man1/mcp.1.gz || die
>> dosym mmv.1.gz /usr/share/man/man1/mln.1.gz || die
>> dosym mmv.1.gz /usr/share/man/man1/mad.1.gz || die
> How does this work with various package managers?
> Portage works fine with different PORTAGE_COMPRESS settings.
> I guess paludis creates uncompressed man-pages and has three broken links?
> And pkgcore?
> Is there a reliable/predictable way to create such links?

This is wrong (but works fine with Portage),


local suffix=$(ecompress --suffix)
dosym foo.1${suffix} /usr/share/man/man1/foo.1${suffix}


What you really want to do is:

ssuominen@foo /usr/share/man/man1 $ bzcat snice.1.bz2
.so man1/skill.1

This simple one-liner & "fake" manpage will link snice(1) manpage to
skill(1) manpage.

Thread Tools

All times are GMT. The time now is 10:54 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org