class NativePackageInstaller::Platform::ALTLinux

Public Class Methods

current_platform?() click to toggle source
# File lib/native-package-installer/platform/alt-linux.rb, line 22
def current_platform?
  os_release = OSRelease.new
  os_release.id == "altlinux"
end

Public Instance Methods

install_command() click to toggle source
# File lib/native-package-installer/platform/alt-linux.rb, line 32
def install_command
  "apt-get install -V -y"
end
need_super_user_priviledge?() click to toggle source
# File lib/native-package-installer/platform/alt-linux.rb, line 36
def need_super_user_priviledge?
  true
end
package(spec) click to toggle source
# File lib/native-package-installer/platform/alt-linux.rb, line 28
def package(spec)
  spec[:alt_linux]
end