diff options
author | adam <adam@FreeBSD.org> | 1996-03-26 07:48:44 +0800 |
---|---|---|
committer | adam <adam@FreeBSD.org> | 1996-03-26 07:48:44 +0800 |
commit | b5cd37ad483aee20fb8c33c6d028459a20ae0dc6 (patch) | |
tree | d4deea180b4df320b92ce22db246fa22eb80d032 /www/gn | |
parent | a28ce4d1ba503130dfaafdeb9f7629c32a6d50ad (diff) | |
download | freebsd-ports-gnome-b5cd37ad483aee20fb8c33c6d028459a20ae0dc6.tar.gz freebsd-ports-gnome-b5cd37ad483aee20fb8c33c6d028459a20ae0dc6.tar.zst freebsd-ports-gnome-b5cd37ad483aee20fb8c33c6d028459a20ae0dc6.zip |
only create commented-out inetd entry if no such entry already exists
(whether commented out or not)
Diffstat (limited to 'www/gn')
-rw-r--r-- | www/gn/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/gn/Makefile b/www/gn/Makefile index 1b6f7a268b9a..4fd5585f0b13 100644 --- a/www/gn/Makefile +++ b/www/gn/Makefile @@ -3,7 +3,7 @@ # Date created: 20 Sep 1994 # Whom: adam # -# $Id: Makefile,v 1.13 1996/02/09 09:42:00 adam Exp $ +# $Id: Makefile,v 1.14 1996/03/19 15:30:42 adam Exp $ # DISTNAME= gn-2.24 @@ -50,8 +50,8 @@ post-install: fi; \ tar -cf - -C ${WRKSRC} gnroot libexec bin etc | tar xpf - && \ (cd gnroot; ${WRKSRC}/bin/mkcache -r); \ - awk '$$1 == "#gopher" { exit 1 }' ${INETD_CONF} || { \ - echo '#'gopher${CONF} >>${INETD_CONF} + awk '$$1 ~ /#*gopher/ && $$6 == "/usr/local/libexec/gn" { exit 1 }' \ + ${INETD_CONF} || { \ echo '#'gopher${CONF} >>${INETD_CONF} } .endif |