aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2010-11-17 19:48:07 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2010-11-17 19:48:07 +0000
commite31be2b907ee3932116fc10f6b239e0662febc19 (patch)
tree96e66c5b589f1ac014ae4bcdcfcded3e7f0d33a3
parentAdd nocolor support to earch. (diff)
downloadrbot-gentoo-e31be2b907ee3932116fc10f6b239e0662febc19.tar.gz
rbot-gentoo-e31be2b907ee3932116fc10f6b239e0662febc19.tar.bz2
rbot-gentoo-e31be2b907ee3932116fc10f6b239e0662febc19.zip
New nocolor support for earch.
-rw-r--r--gentoo-data.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoo-data.rb b/gentoo-data.rb
index 386ef93..77cbd72 100644
--- a/gentoo-data.rb
+++ b/gentoo-data.rb
@@ -304,7 +304,7 @@ class GentooPlugin < Plugin
cp = params[:pkg]
cp = validate_package(m, cp)
return if cp.nil?
- f = IO.popen("#{python} #{scriptdir}/earch -c '#{cp}'")
+ f = IO.popen("#{python} #{scriptdir}/earch --nocolor --quiet -c '#{cp}'")
output = f.readlines
f.close
if output[0] =~ /^!!!/