Method: Pkg::Config.yum_target_path
- Defined in:
- lib/packaging/config.rb
.yum_target_path(feature_branch = false) ⇒ Object
446 447 448 449 450 451 452 453 454 455 456 |
# File 'lib/packaging/config.rb', line 446 def yum_target_path(feature_branch = false) target_path = "#{Pkg::Config.yum_repo_path}/#{Pkg::Config.pe_version}" # Target path is different for feature (PEZ) or release branches if feature_branch || Pkg::Config.pe_feature_branch return "#{target_path}/feature/repos/" elsif Pkg::Config.pe_release_branch return "#{target_path}/release/repos/" else return "#{target_path}/repos/" end end |