Method: FreeBSD::Pkg#pkg_info_pattern
- Defined in:
- lib/beaker/host/freebsd/pkg.rb
#pkg_info_pattern(package) ⇒ Object
4 5 6 7 |
# File 'lib/beaker/host/freebsd/pkg.rb', line 4 def pkg_info_pattern(package) # This seemingly restrictive pattern prevents false positives... "^#{package}-[0-9][0-9a-zA-Z_\\.,]*$" end |