Class: NativePackageInstaller::Platform::ALTLinux
- Inherits:
-
Debian
- Object
- Debian
- NativePackageInstaller::Platform::ALTLinux
show all
- Defined in:
- lib/native-package-installer/platform/alt-linux.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Debian
#install_command, #need_super_user_priviledge?
Class Method Details
24
25
26
|
# File 'lib/native-package-installer/platform/alt-linux.rb', line 24
def current_platform?
File.exist?("/etc/altlinux-release")
end
|
Instance Method Details
#package(spec) ⇒ Object
29
30
31
|
# File 'lib/native-package-installer/platform/alt-linux.rb', line 29
def package(spec)
spec[:alt_linux]
end
|