Re: [dev] why avoid install?

From: Dimitris Papastamos <sin_AT_2f30.org>
Date: Wed, 19 Nov 2014 15:33:32 +0000

On Wed, Nov 19, 2014 at 10:22:19AM -0500, Wolfgang Corcoran-Mathe wrote:
> Quoth Dimitris Papastamos on Wed, Nov 19 2014 14:55 +0000:
> >On Tue, Nov 18, 2014 at 03:49:36PM -0500, Wolfgang Corcoran-Mathe wrote:
> >>Quoth FRIGN on Tue, Nov 18 2014 19:30 +0100:
> >>>Well, install doesn't do any magic.
> >>
> >>There is this.[1] But if the issue is unlinking a running target,
> >>(a) how often is this an issue, considering one will often be make
> >>install-ing to a package directory, and (b) isn't this what
> >>POSIX cp -f is for?
> >
> >Regarding your question on cp -f then the answer is not quite.
> >...
>
> Thank you for this.
>
> Is this a decent reason to use install?

Probably, unless you want to do:

rm
cp
chown
chmod

To me it is a valid enough reason to include install(1) in sbase. sbase
does not only contain tools specified by POSIX and install(1) is actually
used widely so it is worth having it.

It should be fairly trivial to implement as well.
Received on Wed Nov 19 2014 - 16:33:32 CET

This archive was generated by hypermail 2.3.0 : Wed Nov 19 2014 - 16:36:11 CET