Sha256: 1c11190c0b5672aef48c0381fceb8807555d56a3d1bf0083a60d7a90ae6f5ba2
Contents?: true
Size: 473 Bytes
Versions: 66
Compression:
Stored size: 473 Bytes
Contents
module SpecInfra module Command class FreeBSD10 < FreeBSD def check_installed(package, version=nil) if version "pkg query %v #{escape(package)} | grep -- #{escape(version)}" else "pkg info #{escape(package)}" end end def install(package) "pkg install -y #{package}" end def get_package_version(package, opts=nil) "pkg query %v #{escape(package)}" end end end end
Version data entries
66 entries across 66 versions & 1 rubygems