mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-05-06 00:59:13 +00:00
When a pkgdir has no valid repodata, Yum.pm creates an empty local-repository.tmpl file. Template.pm then reads it and generates an empty yum repo config block in the kickstart. Adding a -s check skips empty template files instead of silently including them. Revives the fix from PR #4769 which was closed without merging. Fixes #3572