openbsd-ports/net/pdnsd/patches/patch-doc_Makefile_in
sturm 82c3506eb1 update to 1.2.3
from Dmitry Bogdan <dsb at imcs.dvgu.ru>
2005-11-25 10:45:39 +00:00

12 lines
440 B
Plaintext

--- doc/Makefile.in.orig Mon Jul 11 20:37:39 2005
+++ doc/Makefile.in Sun Nov 13 17:07:23 2005
@@ -398,7 +398,7 @@
# 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 ; \