Method: Pkg::Config.apt_target_path

Defined in:
lib/packaging/config.rb

.apt_target_path(feature_branch = false) ⇒ Object



458
459
460
461
462
463
464
465
466
467
468
# File 'lib/packaging/config.rb', line 458

def apt_target_path(feature_branch = false)
  target_path = "#{Pkg::Config.apt_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