13 lines
274 B
Ruby
13 lines
274 B
Ruby
require "vagrant"
|
|
|
|
module VagrantPlugins
|
|
module HostSlackware
|
|
class Host < Vagrant.plugin("2", :host)
|
|
def self.detect?(env)
|
|
return File.exists?("/etc/slackware-release") ||
|
|
!Dir.glob("/usr/lib/setup/Plamo-*").empty?
|
|
end
|
|
end
|
|
end
|
|
end
|