mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
8678483496
commit
171aaae0c7
1 changed files with 11 additions and 14 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue