From b88d3c574f6ba81ef4b3b7f81b9dd39dbbd04560 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 13 Mar 2001 11:22:08 +0000 Subject: (readCompssUsers): get the "path" --- perl-install/pkgs.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index ac0e312ae..ddae5735b 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -669,10 +669,11 @@ sub readCompssUsers { if (/^(\S.*)/) { my $verbatim = $_; - my ($icon, $descr); + my ($icon, $descr, $path); + /^(.*?)\s*\[path=(.*?)\](.*)/ and $_ = "$1$3", $path = $2; /^(.*?)\s*\[icon=(.*?)\](.*)/ and $_ = "$1$3", $icon = $2; /^(.*?)\s*\[descr=(.*?)\](.*)/ and $_ = "$1$3", $descr = $2; - $compssUsers{$_} = { verbatim => $verbatim, icons => $icon, descr => $descr, flags => $l=[] }; + $compssUsers{$_} = { verbatim => $verbatim, path => $path, icons => $icon, descr => $descr, flags => $l=[] }; push @sorted, $_; } elsif (/^\s+(.*?)\s*$/) { push @$l, $1; -- cgit v1.2.1