From c0f147882a0bea421ad0ef1a0b7ff1c2dcc74407 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 8 Mar 2008 09:32:28 +0000 Subject: [PATCH] Successfully exit from the postinst script if the /etc/services entry already exists (#3191) SVN-Revision: 10568 --- net/openntpd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/openntpd/Makefile b/net/openntpd/Makefile index 1629957f8..ba7e847e3 100644 --- a/net/openntpd/Makefile +++ b/net/openntpd/Makefile @@ -73,7 +73,7 @@ if [ -z "$$(grep ^\\$${name}: $${IPKG_INSTROOT}/etc/passwd)" ]; then fi grep -q '^ntp[[:space:]]*123/udp' $${IPKG_INSTROOT}/etc/services 2>/dev/null -[ $$? -ne 0 ] && echo "ntp 123/udp" >>$${IPKG_INSTROOT}/etc/services +[ $$? -ne 0 ] && echo "ntp 123/udp" >>$${IPKG_INSTROOT}/etc/services || exit 0 endef define Build/Configure -- 2.30.2