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.9.2 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.9.1 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.9.0 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.8.8 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.8.7 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.8.6 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.8.5 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.8.4 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.8.3 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.8.2 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.8.1 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.8.0 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.7.1 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.7.0 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.6.0 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.5.0 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.4.3 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.4.2 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.4.1 lib/pe_build/cap/detect_installer/debian.rb
vagrant-pe_build-0.4.0 lib/pe_build/cap/detect_installer/debian.rb