CI: update-whatprovides-db: exit if ./debs directory is empty

This commit is contained in:
Leonid Pliushch 2021-01-07 14:28:31 +02:00
parent 5d4730f139
commit 980500a2f7
No known key found for this signature in database
GPG Key ID: 45F2964132545795
1 changed files with 2 additions and 0 deletions

View File

@ -154,6 +154,8 @@ jobs:
for i in debs-*.tar; do
tar xf $i
done
# If ./debs is empty - exit.
rmdir ./debs && exit 0
# Retrieve old db since we can't generate the complete one without
# all repository packages.
curl --fail --retry 3 --retry-connrefused --retry-delay 10 \