From e18a7af7601b0bf7fe7f16d6991b3e583bcaebc6 Mon Sep 17 00:00:00 2001 From: leafee98 Date: Fri, 18 Aug 2023 11:55:50 +0800 Subject: [PATCH] fix: woodpecker step rm use -f to ignore file missing --- .woodpecker/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index 10539f2..8acbc7d 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -7,7 +7,7 @@ steps: - WEBDAV_HOST - WEBDAV_REPOPATH commands: - - rm /tmp/apt-file-exists-cache.json + - rm -f /tmp/apt-file-exists-cache.json - hook_str="$(realpath ./script/package_exists.py) --filename {} --cache-file /tmp/apt-file-exists-cache.json