bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add redirection to "install" for package managers


From: David A. Wheeler
Subject: Re: Add redirection to "install" for package managers
Date: Fri, 06 Feb 2009 18:55:15 -0500
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

Mike Frysinger wrote:
simply fixing said package sounds saner to me ...

Absolutely! But when I go to package something else, I find the same problem. And the next one. And the next one. And the next one.

Whenever I find myself doing the same thing repeatedly, I try to find a way to automate it. Clearly, training developers to use DESTDIR isn't working; that convention is ancient history. So let's automate the problem away, at least for a common case. That's my theory, anyway.

> cp and mkdir and .... you suggesting those be changed as well?

That would be a possibility, but I also understand why that kind of invasive change would be strongly resisted. I will probably just create "bogus" versions of those programs which do the redirection, and put them at the front of the PATH.

I could create a bogus version of install, too. But in the case of install, its SOLE purpose is to install files. It seems odd that install can't automatically handle this common case. Also, mucking around with install means that even someone who invokes /usr/bin/install will get the redirection.

--- David A. Wheeler





reply via email to

[Prev in Thread] Current Thread [Next in Thread]