aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gentoo-data.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/gentoo-data.rb b/gentoo-data.rb
index beba071..31c5b6b 100644
--- a/gentoo-data.rb
+++ b/gentoo-data.rb
@@ -244,6 +244,7 @@ class GentooPlugin < Plugin
begin
pkgindex = get_pkgindex(m)
+ pn = pn.gsub('+','\\\+')
rx = (pn =~ /\//) ? /^#{pn}$/ : /\/#{pn}$/
packages = pkgindex.keys.grep(rx)