fix: woodpecker step rm use -f to ignore file missing
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
leafee98 2023-08-18 11:55:50 +08:00
parent cae4e11877
commit e18a7af760

View file

@ -7,7 +7,7 @@ steps:
- WEBDAV_HOST - WEBDAV_HOST
- WEBDAV_REPOPATH - WEBDAV_REPOPATH
commands: commands:
- rm /tmp/apt-file-exists-cache.json - rm -f /tmp/apt-file-exists-cache.json
- hook_str="$(realpath ./script/package_exists.py) - hook_str="$(realpath ./script/package_exists.py)
--filename {} --filename {}
--cache-file /tmp/apt-file-exists-cache.json --cache-file /tmp/apt-file-exists-cache.json