From 83c40029181a47a96027b58bb67d953f129366b9 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 5 Jan 2009 08:48:55 +0000 Subject: [PATCH] packages/libs/file: make sure to remove magic.mime before regenerating it (#4422) SVN-Revision: 13870 --- libs/file/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/file/Makefile b/libs/file/Makefile index c82fb7395..1be259985 100644 --- a/libs/file/Makefile +++ b/libs/file/Makefile @@ -79,7 +79,7 @@ define Package/file/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/share/file $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/file $(1)/usr/bin - (cd $(PKG_BUILD_DIR)/magic/Magdir; for file in `ls`; do cat $$$${file} >> magic.mime; done) + (cd $(PKG_BUILD_DIR)/magic/Magdir; rm -f magic.mime; for file in `ls`; do cat $$$${file} >> magic.mime; done) $(INSTALL_DATA) $(PKG_BUILD_DIR)/magic/Magdir/magic.mime $(1)/usr/share/file/magic endef -- 2.30.2