]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/rust-rand_hc
libmpdclient: update to 2.22
[ipfire-2.x.git] / lfs / rust-rand_hc
index ad6c61656307d0f943d6fb0be9e1182c72079bdb..f093348604132eaa1bc9bb8a93ff54c312db9db1 100644 (file)
@@ -73,6 +73,11 @@ $(subst %,%_BLAKE2,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+
+       cd $(DIR_APP) && if [ -f Cargo.toml.orig ]; then \
+               rm -f Cargo.toml.orig; \
+       fi; \
+
        cd $(DIR_APP) && $(CARGO_PREPARE)
        cd $(DIR_APP) && $(CARGO_BUILD)
        cd $(DIR_APP) && $(CARGO_INSTALL)