Commit Graph

16 Commits

Author SHA1 Message Date
brooks
f8271f846b Install the template info directory with mode 644 instead of 444 to
allow it to be updated by its owner without resorting to privilege.

This is required by upcoming changes to allow installworld to work as
a non-root user.

Sponsored by:	DARPA, AFRL
Reviewed by:	ian, ray, rpaulo
2013-01-21 22:54:43 +00:00
ru
cec60429bb Start the dreaded NOFOO -> NO_FOO conversion.
OK'ed by:	core
2004-12-21 08:47:35 +00:00
ru
5db2b9d5b3 For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
ru
a8adf98c82 Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
2002-07-29 09:40:17 +00:00
ru
cd7c90d38f s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
ru
06e6019ff3 INFODIR is defined in bsd.own.mk but sys.mk no longer includes
bsd.own.mk as of share/mk/sys.mk,v 1.60.

I did not notice this because I tested with DESTDIR=/foo/5.0,
and the "exists(/foo/5.0)" test apparently succeeded.

Reported by:	fenner
2002-04-18 06:55:32 +00:00
ru
a75c42b85f Update skeleton dir file from the latest install-info(1). 2000-01-24 16:18:12 +00:00
ru
7f2c251d26 o No need to install `dir-tmpl' to /usr/share/info.
o Do not clobber an existing /usr/share/info/dir.

Reviewed by:	bde
2000-01-24 16:14:32 +00:00
ru
1ac5a2b5a0 New install-info(1) correctly fails to install ENTRY for file FOO
if ENTRY already exists for file FOO2 in /usr/share/info/dir.

So, re-init /usr/share/info/dir unconditionally at installworld.
2000-01-19 19:18:50 +00:00
peter
76f0c923fe $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
wosch
3ec3412568 Print a human-readable warning and die if $INFODIR do not exist.
PR: bin/6138
Reviewed by: bde
1998-05-09 22:15:19 +00:00
wosch
d12b0e4638 Use INFO* variables. 1998-01-03 14:06:26 +00:00
jkh
0620a13da6 Nuke info dist. 1997-12-26 00:17:28 +00:00
jkh
6973ddaa13 Put the dir file in the correct distribution. 1997-12-24 10:16:49 +00:00
peter
e270a52103 Make this slightly less bogus. I'm not 100% sure what is correct here,
but replacing the "dir" file unconditionally isn't it.  During the course
of development, if .info files go away from the sources, nothing removes
them from /usr/share/info, this is the same as system binaries etc.
Removing the entire index isn't helpful, because you've got to reinstall
the entire tree to get it back again.  bsd.info.mk has a reference to
/usr/share/info/dir-tmpl, I wonder if it once created dir if needed?
1997-01-12 07:23:58 +00:00
jmacd
19f42abf29 Makefile and empty dir template. 1997-01-11 02:44:34 +00:00