mirror of
https://git.dn42.dev/dn42/registry.git
synced 2026-02-13 22:52:18 +08:00
remove file deletion check from check-pol
This commit is contained in:
parent
fc454a1a56
commit
8af3b05762
1 changed files with 1 additions and 3 deletions
|
|
@ -70,9 +70,7 @@ do
|
|||
object="$3"
|
||||
|
||||
# check the file really is a registry object
|
||||
# (including if it still exists, as it may have been deleted)
|
||||
if [ -f "$filename" ] && [ "$path" = 'data' ] && \
|
||||
[ -n "$type" ] && [ -n "$object" ]
|
||||
if [ "$path" = 'data' ] && [ -n "$type" ] && [ -n "$object" ]
|
||||
then
|
||||
|
||||
# run the check script
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue