remove postinst files for preinstalled packages
authorFelix Fietkau <nbd@openwrt.org>
Fri, 25 Mar 2011 23:47:08 +0000 (23:47 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 25 Mar 2011 23:47:08 +0000 (23:47 +0000)
SVN-Revision: 26299

package/Makefile

index 2180df3..4f2cbf1 100644 (file)
@@ -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)