mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
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 <christian.schoenebeck@gmail.com>
This commit is contained in:
@@ -129,19 +129,6 @@ define Package/$(PKG_NAME)/install
|
|||||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/files/services* $(1)/usr/lib/ddns
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/files/services* $(1)/usr/lib/ddns
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/files/dynamic_*.sh $(1)/usr/lib/ddns
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/files/dynamic_*.sh $(1)/usr/lib/ddns
|
||||||
endef
|
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
|
define Package/$(PKG_NAME)/prerm
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# if run within buildroot exit
|
# if run within buildroot exit
|
||||||
|
|||||||
Reference in New Issue
Block a user