Sha256: b706b88b7d790b79703435f0f3cee15f2081f29bb4949fb9ffe432ccdee4b6a9

Contents?: true

Size: 347 Bytes

Versions: 31

Compression:

Stored size: 347 Bytes

Contents

class PEBuild::Cap::DetectInstaller::Debian < PEBuild::Cap::DetectInstaller::POSIX

  def name
    'debian'
  end

  def release_file
    '/etc/debian_version'
  end

  def release_file_format
    %r[^(\d+)\.]
  end

  def supported_releases
    %w[6 7 8]
  end

  def arch
    retval = super
    (retval == 'x86_64') ? 'amd64' : retval
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
vagrant-pe_build-0.17.0 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.16.0 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.15.6 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.15.5 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.15.4 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.15.3 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.15.1 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.15.0 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.14.2 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.14.1 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.14.0 lib/pe_build/cap/detect_installer/debian.rb