Improved install modification of /etc/services

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3327 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1998-11-25 20:21:19 +00:00
parent fda21b3d6c
commit 2e7bc7090d

View file

@ -53,7 +53,7 @@ after-install::
$(INSTALL_DATA) ./include/$$file \
$(GNUSTEP_HEADERS)/gnustep/base/$$file ; \
done
if ! ( fgrep -q gdomap /etc/services ); then \
if [ "`fgrep gdomap /etc/services`" = "" ]; then \
echo "gdomap 538/tcp # GNUstep distrib objects" >> /etc/services; \
echo "gdomap 538/udp # GNUstep distrib objects" >> /etc/services; \
fi