Skip to content

Commit 018abf6

Browse files
committed
Update pecl.rb
Match entire package name, not just beginning.
1 parent de21c4e commit 018abf6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/puppet/provider/package/pecl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def self.pearlist(hash)
2121
list = execute(command).split("\n")
2222
list = list.collect do |set|
2323
if hash[:justme]
24-
if /^#{hash[:justme]}/i.match(set)
24+
if /^#{hash[:justme]}$/i.match(set)
2525
if pearhash = pearsplit(set)
2626
pearhash[:provider] = :pearcmd
2727
pearhash

0 commit comments

Comments
 (0)