mirror of
https://git.dn42.dev/dn42/registry.git
synced 2026-05-16 20:23:48 +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"
|
object="$3"
|
||||||
|
|
||||||
# check the file really is a registry object
|
# check the file really is a registry object
|
||||||
# (including if it still exists, as it may have been deleted)
|
if [ "$path" = 'data' ] && [ -n "$type" ] && [ -n "$object" ]
|
||||||
if [ -f "$filename" ] && [ "$path" = 'data' ] && \
|
|
||||||
[ -n "$type" ] && [ -n "$object" ]
|
|
||||||
then
|
then
|
||||||
|
|
||||||
# run the check script
|
# run the check script
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue