wok rev 8699

ocs agent: fix Tapkg.pm
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Feb 17 23:08:43 2011 +0100 (2011-02-17)
parents 8dd571badab0
children f84080e3ed2f
files ocsinventory-agent/stuff/Tazpkg.pm
line diff
     1.1 --- a/ocsinventory-agent/stuff/Tazpkg.pm	Thu Feb 17 23:07:51 2011 +0100
     1.2 +++ b/ocsinventory-agent/stuff/Tazpkg.pm	Thu Feb 17 23:08:43 2011 +0100
     1.3 @@ -15,7 +15,7 @@
     1.4  		next if (/packages installed/);
     1.5  		
     1.6  		if (/^(\S+)\[24G\s+(\S+)\[42G\s+(\S+)/) {
     1.7 -		  $inventory->addSoftwares({
     1.8 +		  $inventory->addSoftware({
     1.9  		  'NAME'    	=> $1,
    1.10  		  'VERSION'     => $2,
    1.11  		  'COMMENTS'	=> $3