From 987ba7d1817cfb46f0ae2a19ab68239029f29911 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A9ri=20Le=20Bouder?= Date: Wed, 17 Oct 2012 18:21:04 +0200 Subject: [PATCH] fix key: use LICENSEINFOS instead of LICENSES --- .../Agent/Task/Inventory/Input/MacOS/License.pm | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/lib/FusionInventory/Agent/Task/Inventory/Input/MacOS/License.pm b/lib/FusionInventory/Agent/Task/Inventory/Input/MacOS/License.pm index 8de02fe5d7..a8eb410d68 100644 --- a/lib/FusionInventory/Agent/Task/Inventory/Input/MacOS/License.pm +++ b/lib/FusionInventory/Agent/Task/Inventory/Input/MacOS/License.pm @@ -17,14 +17,9 @@ sub doInventory { my @found = getAdobeLicenses( command => 'sqlite3 -separator " <> " "/Library/Application Support/Adobe/Adobe PCD/cache/cache.db" "SELECT * FROM domain_data"'); -use Data::Dumper; -print Dumper(\@found); - - - foreach my $license (@found) { - $params{inventory}->addEntry(section => 'LICENSES', entry => $license); -} - + foreach my $license (@found) { + $params{inventory}->addEntry(section => 'LICENSEINFOS', entry => $license); + } } 1;