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.3.0 lib/pe_build/cap/detect_installer/debian.rb