82c3506eb1
from Dmitry Bogdan <dsb at imcs.dvgu.ru>
12 lines
440 B
Plaintext
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 ; \
|