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
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
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?