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 2180df3b37b0cef89c4f95d36c8c440bc6a68562..4f2cbf106ebf2ac650d1b59a4202e1c27f28aef4 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)