lsedlar / pungi

Forked from pungi 8 years ago
Clone

6771a21 pkgset: Only reuse valid old repo

Authored and Committed by lsedlar 4 years ago
    pkgset: Only reuse valid old repo
    
    Instead of just checking that the repo directory exists, make sure the
    repodata subdirectory is in there. If it's missing, then createrepo_c
    has nothing to use anyway, and it may help avoid issues.
    
    Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>