summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-25 23:47:08 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-25 23:47:08 +0000
commitb179f71e7dbb7419149069faaaeff8fa06daa85c (patch)
treeed1b38daa21d5ec796ae95801563258af277fa1e
parentae1204a33ac3cac7a891d3dc0b87263714e0f934 (diff)
remove postinst files for preinstalled packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26299 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/Makefile b/package/Makefile
index 2180df3b37..4f2cbf106e 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -85,6 +85,7 @@ $(curdir)/rootfs-prepare: $(TMP_DIR)/.build
@-find $(TARGET_DIR) -name CVS | $(XARGS) rm -rf
@-find $(TARGET_DIR) -name .svn | $(XARGS) rm -rf
@-find $(TARGET_DIR) -name '.#*' | $(XARGS) rm -f
+ rm -f $(TARGET_DIR)/usr/lib/opkg/info/*.postinst
$(if $(CONFIG_CLEAN_IPKG),rm -rf $(TARGET_DIR)/usr/lib/opkg)
$(call mklibs)