wok-next diff ocsinventory-agent/stuff/Tazpkg.pm @ rev 15868

Add stund
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 31 15:50:52 2014 +0000 (2014-01-31)
parents 894c779750dc
children
line diff
     1.1 --- a/ocsinventory-agent/stuff/Tazpkg.pm	Mon Jul 13 10:52:36 2009 +0200
     1.2 +++ b/ocsinventory-agent/stuff/Tazpkg.pm	Fri Jan 31 15:50:52 2014 +0000
     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