Sha256: b485be0009fdaac64b6a0bcfa810ba7ffa327b5f453f14a22f3c84c9c743c5ef

Contents?: true

Size: 730 Bytes

Versions: 20

Compression:

Stored size: 730 Bytes

Contents

<%-
@pin = "release a=#{@name}" # default value
if @pin_release.length > 0
  options = []
  options.push("a=#{@release}") if @release.length > 0
  options.push("n=#{@codename}") if @codename.length > 0
  options.push("v=#{@release_version}") if @release_version.length > 0
  options.push("c=#{@component}") if @component.length > 0
  options.push("o=#{@originator}") if @originator.length > 0
  options.push("l=#{@label}") if @label.length > 0
  @pin = "release #{options.join(', ')}"
elsif @version.length > 0
  @pin = "version #{@version}"
elsif @origin.length > 0
  @pin = "origin \"#{@origin}\""
end
-%>
# <%= @name %>
Explanation: <%= @explanation %>
Package: <%= @packages %>
Pin: <%= @pin %>
Pin-Priority: <%= @priority %>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/apt/templates/pin.pref.erb
freighthop-0.6.0 modules/apt/templates/pin.pref.erb
freighthop-0.5.2 modules/apt/templates/pin.pref.erb
freighthop-0.5.1 modules/apt/templates/pin.pref.erb
freighthop-0.5.0 modules/apt/templates/pin.pref.erb
freighthop-0.4.1 modules/apt/templates/pin.pref.erb
freighthop-0.4.0 modules/apt/templates/pin.pref.erb
freighthop-0.3.3 modules/apt/templates/pin.pref.erb
freighthop-0.3.2 modules/apt/templates/pin.pref.erb
freighthop-0.3.1 modules/apt/templates/pin.pref.erb
freighthop-0.3.0 modules/apt/templates/pin.pref.erb
freighthop-0.2.1 modules/apt/templates/pin.pref.erb
freighthop-0.2.0 modules/apt/templates/pin.pref.erb
freighthop-0.1.0 modules/apt/templates/pin.pref.erb
freighthop-0.0.6 modules/apt/templates/pin.pref.erb
freighthop-0.0.5 modules/apt/templates/pin.pref.erb
freighthop-0.0.4 modules/apt/templates/pin.pref.erb
freighthop-0.0.3 modules/apt/templates/pin.pref.erb
freighthop-0.0.2 modules/apt/templates/pin.pref.erb
freighthop-0.0.1 modules/apt/templates/pin.pref.erb