Commit Graph

9 Commits

Author SHA1 Message Date
Peter Wemm
c00062b834 Add a simple -v (verbose) option that allows you to see when -C actually
installs something.  This is not 100% right, since it has a false hit
when install -C snaps hard links.

Also, run strip(1) from the $PATH, otherwise you need a special version
of install to install (say) elf binaries which have a different strip.
With JDP's elfkit, the layout of the path determines which binary format
you are generating.
1996-08-12 17:03:30 +00:00
Bruce Evans
7739e56802 Made strip failures fatal. This fixes PR 1328. 1996-06-23 12:59:18 +00:00
Joerg Wunsch
98fd61c0a2 Don't reference NULL pointers if owner and/or group are omitted.
Pointed out by:  somebody on the mailing list who's name i forgot
1996-04-08 10:59:36 +00:00
Julian Elischer
b897ddafe5 Submitted by: archie@tribe.com
allow the user to install using a Numeric GID or UID.
this brings it in to line with chgrp and chown, ans is required
by some people using FreeBSD in a product.
1996-04-06 01:50:40 +00:00
Paul Traina
2e2b09d90d Kludge-fix for a specific instance of bin/517.
The real fix requires changes to getpwent(3) and friends and getgrent(3)
and friends.

Submitted by:	Tim Wilkinson
1996-02-08 06:17:50 +00:00
Bruce Evans
de264c2bd8 Add options -C (same as -c except for preserving the modification
time of the target if the target file is the same as the source),
-d (debug), and -p (same as -C except for preserving the modification
time of the source if the target doesn't exists or is different from
the source.

Use library err() functions instead of our own and pass them better
exit codes.

Submitted by:	wollman (and changed a lot by me)
1995-10-09 07:21:00 +00:00
David Greenman
7e877393a8 Backed out change in rev 1.2. 1995-08-27 02:02:19 +00:00
Joerg Wunsch
84be91cbaf Make install not remove the target file if -s has been specified but
stripping failed (since the file has been a shell script, for
example).

Closes PR # bin/645: "install -c -s" can't inst...

Submitted by:	hohmuth@inf.tu-dresden.de (Michael Hohmuth)
1995-08-04 17:13:36 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00