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.19.2 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.19.1 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.19.0 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.18.2 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.18.1 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.18.0 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.17.14 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.17.13 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.17.12 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.17.11 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.17.10 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.17.9 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.17.8 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.17.7 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.17.6 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.17.5 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.17.4 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.17.3 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.17.2 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.17.1 lib/pe_build/cap/detect_installer/debian.rb