openbsd-ports/net/pdnsd/patches/patch-doc_Makefile_in
sturm 3eb9e5230d - use new username schema
- remove Sebastian Stark as MAINTAINER by his request
- bump PKGNAME
2003-06-22 14:07:21 +00:00

13 lines
554 B
Plaintext

$OpenBSD: patch-doc_Makefile_in,v 1.3 2003/06/22 14:07:21 sturm 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 ; \