From 39cb865965514878368646dd002519db29487f45 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 24 Aug 2012 14:46:53 +0200 Subject: [PATCH] bweb: Display plugin command in the fileset_view page --- gui/bweb/lib/Bconsole.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gui/bweb/lib/Bconsole.pm b/gui/bweb/lib/Bconsole.pm index 6a3c431727..dd1b580280 100644 --- a/gui/bweb/lib/Bconsole.pm +++ b/gui/bweb/lib/Bconsole.pm @@ -376,7 +376,11 @@ sub get_fileset foreach my $l (split(/\r?\n/, $out)) { # I /usr/local - if ($l =~ /^\s+([I|E])\s+(.+)$/) { # include + if ($l =~ /^\s+([O|I|E|P])\s+(.+)$/) { # include + # if a plugin, add it to the include list + if ($1 eq 'P') { + push @{$ret->{'I'}}, { file => $2 }; + } push @{$ret->{$1}}, { file => $2 }; } } -- 2.39.2