# HG changeset patch # User Eric Joseph-Alexandre # Date 1297980523 -3600 # Node ID 7e463c50f245c0b34b3f9a2c58b66f366546dbb2 # Parent 8dd571badab06cb1b984028d5af5f6031769e452 ocs agent: fix Tapkg.pm diff -r 8dd571badab0 -r 7e463c50f245 ocsinventory-agent/stuff/Tazpkg.pm --- a/ocsinventory-agent/stuff/Tazpkg.pm Thu Feb 17 23:07:51 2011 +0100 +++ b/ocsinventory-agent/stuff/Tazpkg.pm Thu Feb 17 23:08:43 2011 +0100 @@ -15,7 +15,7 @@ next if (/packages installed/); if (/^(\S+)\[24G\s+(\S+)\[42G\s+(\S+)/) { - $inventory->addSoftwares({ + $inventory->addSoftware({ 'NAME' => $1, 'VERSION' => $2, 'COMMENTS' => $3