13 lines
553 B
Plaintext
13 lines
553 B
Plaintext
$OpenBSD: patch-doc_Makefile_in,v 1.2 2002/01/08 00:51:27 naddy Exp $
|
|
--- doc/Makefile.in.orig Mon Jan 7 20:30:11 2002
|
|
+++ doc/Makefile.in Tue Jan 8 00:02:01 2002
|
|
@@ -230,7 +230,7 @@ maintainer-clean-generic clean mostlycle
|
|
# builds
|
|
install-data-hook:
|
|
$(mkinstalldirs) $(DESTDIR)/$(sysconfdir)
|
|
- if test `whoami` = "root"; then \
|
|
+ if test `userinfo -e pdnsd`; then \
|
|
$(INSTALL) -o 0 -g 0 -m 644 pdnsd.conf $(DESTDIR)/$(sysconfdir)/pdnsd.conf.sample ; \
|
|
else \
|
|
$(INSTALL) -m 644 pdnsd.conf $(DESTDIR)/$(sysconfdir)/pdnsd.conf.sample ; \
|