mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-06-20 02:21:05 +00:00
2d07295d8c
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