foomatic: Clean out /usr/share/foomatic prior to build to prevent hangs
authorJan Lentfer <Jan.Lentfer@web.de>
Sun, 17 Jun 2012 18:23:35 +0000 (20:23 +0200)
committerJan Lentfer <Jan.Lentfer@web.de>
Sun, 17 Jun 2012 18:23:35 +0000 (20:23 +0200)
lfs/foomatic

index e22f4b8..712247f 100644 (file)
@@ -86,7 +86,7 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_SRC)/foomatic-* && cd $(DIR_SRC) && \
+       @rm -rf $(DIR_SRC)/foomatic-* /usr/share/foomatic && cd $(DIR_SRC) && \
                tar zxf $(DIR_DL)/$(DL_FILE) && \
                tar zxf $(DIR_DL)/foomatic-db-$(DATE).tar.gz && \
                tar zxf $(DIR_DL)/foomatic-db-engine-$(VER).tar.gz && \
                tar zxf $(DIR_DL)/$(DL_FILE) && \
                tar zxf $(DIR_DL)/foomatic-db-$(DATE).tar.gz && \
                tar zxf $(DIR_DL)/foomatic-db-engine-$(VER).tar.gz && \