Sha256: c9839f997b9ef1aeeaa9fbf2b0b10f2c6f7fa7748295e480beb2b948141c16df

Contents?: true

Size: 345 Bytes

Versions: 41

Compression:

Stored size: 345 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]
  end

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

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
vagrant-pe_build-0.13.7 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.13.6 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.13.5 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.13.4 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.13.3 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.13.2 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.13.1 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.13.0 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.12.0 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.11.0 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.10.4 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.10.3 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.10.2 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.10.1 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.10.0 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.9.7 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.9.6 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.9.5 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.9.4 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.9.3 lib/pe_build/cap/detect_installer/debian.rb