Sha256: a95b5ead45060df5861b0d692e8b7aba41a2929df20f08bff2bfd16068b153a1
Contents?: true
Size: 333 Bytes
Versions: 27
Compression:
Stored size: 333 Bytes
Contents
module FreeBSD::Pkg include Beaker::CommandFactory def install_package(name, cmdline_args = nil, opts = {}) cmdline_args ||= '-y' execute("pkg install #{cmdline_args} #{name}", opts) { |result| result } end def check_for_package(name, opts = {}) execute("pkg info #{name}", opts) { |result| result } end end
Version data entries
27 entries across 27 versions & 1 rubygems