Skip to content

Commit

Permalink
fix key: use LICENSEINFOS instead of LICENSES
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonéri Le Bouder committed Oct 19, 2012
1 parent 9d425d3 commit 69781ac
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions lib/FusionInventory/Agent/Task/Inventory/Input/MacOS/License.pm
Expand Up @@ -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;

0 comments on commit 69781ac

Please sign in to comment.