13 lines
434 B
Plaintext
13 lines
434 B
Plaintext
$OpenBSD: patch-Makefile_in,v 1.1 2001/07/15 19:17:00 naddy Exp $
|
|
--- Makefile.in.orig Mon Jul 2 21:37:32 2001
|
|
+++ Makefile.in Sun Jul 15 20:42:16 2001
|
|
@@ -374,7 +374,7 @@ install-data-hook:
|
|
else \
|
|
touch $(DESTDIR)$(cachedir)/pdnsd.cache; \
|
|
fi
|
|
- if test `whoami` = "root"; then \
|
|
+ if test `userinfo -e pdnsd`; then \
|
|
chown $(def_id) $(DESTDIR)$(cachedir)/pdnsd.cache; \
|
|
chown $(def_id) $(DESTDIR)$(cachedir); \
|
|
fi
|