test hermetic_repo

This commit is contained in:
Tomas Kopecek 2026-03-06 16:20:37 +01:00
parent 78ba1493b5
commit a61d815f61

View File

@ -706,7 +706,7 @@ else
# https://lists.fedorahosted.org/archives/list/koji-devel@lists.fedorahosted.org/thread/ZIBY53JAURLT3QRBBJIJJ7EZWLZDE3TI/
# -n 1 because of RHBZ#980502.
dirs=
for d in /var/cache/{dnf,libdnf5,yum} ; do
for d in /hermetic_repo /var/cache/{dnf,libdnf5,yum} ; do
if test -d $d ; then dirs="$dirs $d" ; fi
done
test -n "$dirs"