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