lib/specinfra/command/openbsd/base/package.rb in specinfra-2.0.0.beta37 vs lib/specinfra/command/openbsd/base/package.rb in specinfra-2.0.0.beta38
- old
+ new
@@ -6,10 +6,10 @@
else
"pkg_info -a | cut -d ' ' -f 1 | grep #{escape(package)}"
end
end
- def install(package)
+ def install(package, version=nil)
"pkg_add #{package}"
end
end
end