Sha256: 6e7fbd632877b94f951b3841a05afadea2d2269e9cea143e2dcc1d40b927e7df
Contents?: true
Size: 297 Bytes
Versions: 1
Compression:
Stored size: 297 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 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
specinfra-0.5.8 | lib/specinfra/command/freebsd10.rb |