From: Christian Schoenebeck Date: Tue, 27 Sep 2016 08:12:24 +0000 (+0200) Subject: ddns-scripts: remove postinst (of main package) from Makefile X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=f5e3d3f743c01d117e54846db43a8c560420831f;p=openwrt-packages.git ddns-scripts: remove postinst (of main package) from Makefile remove postinst (of main package) from Makefile because all is done inside uci-defaults scripts Signed-off-by: Christian Schoenebeck --- diff --git a/net/ddns-scripts/Makefile b/net/ddns-scripts/Makefile index 9975e1852..5d4c57a90 100755 --- a/net/ddns-scripts/Makefile +++ b/net/ddns-scripts/Makefile @@ -129,19 +129,6 @@ define Package/$(PKG_NAME)/install $(INSTALL_DATA) $(PKG_BUILD_DIR)/files/services* $(1)/usr/lib/ddns $(INSTALL_BIN) $(PKG_BUILD_DIR)/files/dynamic_*.sh $(1)/usr/lib/ddns endef -define Package/$(PKG_NAME)/postinst - #!/bin/sh - # if run within buildroot exit - [ -n "$${IPKG_INSTROOT}" ] && exit 0 - - # apply changes introduced during release changes - /etc/uci-defaults/ddns - - # clear LuCI indexcache - rm -f /tmp/luci-indexcache >/dev/null 2>&1 - - exit 0 -endef define Package/$(PKG_NAME)/prerm #!/bin/sh # if run within buildroot exit