Re: Re: [Refdb-users] ANN: RefDB RPM packages pulled, packagers wanted

Markus Hoenicka <[email protected]>
Newsgroups gmane.text.refdb.devel
Message-ID <[email protected]>
David Nebauer <[email protected]> was heard to say:

> There is one further problem: the 'dos2unix' script supplied with refdb
> is going to conflict with an executable of the same name supplied by the
> 'sysutils' package (actually, '/usr/bin/dos2unix' is a symlink to
> '/usr/bin/fromdos').  It was never a problem until now since refdb
> installed to '/usr/local/bin' while the sysutils version lives in
> '/usr/bin'.  Of course, since debian policy requires the debian version
> of refdb to install its scripts/binary files to '/usr/bin', the two
> files now clash.
>
> There are a number of possible solutions:
> 1. I can always remove the 'dos2unix' and 'dos2unix.in' files and
> manually strip out any related plumbing in the relevant make files,
> 2. The build system could check the OS and not install the file if it
> detects a debian OS, or
> 3. Rename the script.
>

The cleanest way is to rename the script. I guess there are quite a few
implementations of this kind of tool out there, all with the same name. Putting
a 'refdb_' in front of the filename should be all it takes to avoid conflicts.

regards,
Markus


-- 
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.