Some code cleanup
This commit is contained in:
parent
00953073e7
commit
6f45cdc1ed
|
@ -1,12 +1,8 @@
|
||||||
require 'pathname'
|
|
||||||
|
|
||||||
module Vagrant
|
module Vagrant
|
||||||
module Hosts
|
module Hosts
|
||||||
class Gentoo < Linux
|
class Gentoo < Linux
|
||||||
def self.match?
|
def self.match?
|
||||||
release_file = Pathname.new("/etc/gentoo-release")
|
return File.exists?("/etc/gentoo-release")
|
||||||
|
|
||||||
return release_file.exist?
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# Normal, mid-range precedence.
|
# Normal, mid-range precedence.
|
||||||
|
|
Loading…
Reference in New Issue