Removed obsoleted code creating a /etc/services.add when packaging

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9390 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
nico 2001-03-16 22:24:55 +00:00
parent 8678483496
commit 171aaae0c7

View file

@ -63,20 +63,17 @@ after-install::
$(GNUSTEP_HEADERS)/$(GNUSTEP_TARGET_DIR)
if [ "$(INSTALL_ROOT_DIR)" = "" ]; then \
services=/etc/services; \
else \
mkdir -p $(INSTALL_ROOT_DIR)/etc; \
services=$(INSTALL_ROOT_DIR)/etc/services.add; \
fi; \
if [ "`$(WHOAMI)`" != root ]; then \
echo "WARNING: Please add the following lines to $$services"; \
echo "gdomap 538/tcp # GNUstep distrib objects"; \
echo "gdomap 538/udp # GNUstep distrib objects"; \
else \
if [ "`fgrep gdomap $$services 2>/dev/null`" = "" ]; then \
echo "GNUstep addons for /etc/services written to $$services"; \
set -x; \
echo "gdomap 538/tcp # GNUstep distrib objects" >> $$services; \
echo "gdomap 538/udp # GNUstep distrib objects" >> $$services; \
if [ "`$(WHOAMI)`" != root ]; then \
echo "WARNING: Please add the following lines to $$services"; \
echo "gdomap 538/tcp # GNUstep distrib objects"; \
echo "gdomap 538/udp # GNUstep distrib objects"; \
else \
if [ "`fgrep gdomap $$services 2>/dev/null`" = "" ]; then \
echo "GNUstep addons for /etc/services written to $$services"; \
set -x; \
echo "gdomap 538/tcp # GNUstep distrib objects" >> $$services; \
echo "gdomap 538/udp # GNUstep distrib objects" >> $$services; \
fi; \
fi; \
fi