Commit Graph

16 Commits

Author SHA1 Message Date
Brooks Davis
7102f5954b 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
Ruslan Ermilov
e653b48c80 Start the dreaded NOFOO -> NO_FOO conversion.
OK'ed by:	core
2004-12-21 08:47:35 +00:00
Ruslan Ermilov
a35d88931c For variables that are only checked with defined(), don't provide
any fake value.
2004-10-24 15:33:08 +00:00
Ruslan Ermilov
d2893b161b 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
Ruslan Ermilov
0b87f79976 s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
Ruslan Ermilov
96f1512e70 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
Ruslan Ermilov
2a787d5e7d Update skeleton dir file from the latest install-info(1). 2000-01-24 16:18:12 +00:00
Ruslan Ermilov
673494c6ca 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
Ruslan Ermilov
58faf4d04b 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 Wemm
7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Wolfram Schneider
5b44ce4f91 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
Wolfram Schneider
19a80d07de Use INFO* variables. 1998-01-03 14:06:26 +00:00
Jordan K. Hubbard
201356b7c6 Nuke info dist. 1997-12-26 00:17:28 +00:00
Jordan K. Hubbard
db527a35ad Put the dir file in the correct distribution. 1997-12-24 10:16:49 +00:00
Peter Wemm
4d1680b452 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
Joshua Peck Macdonald
527aaab97e Makefile and empty dir template. 1997-01-11 02:44:34 +00:00