diff -Nru Ocsinventory-Agent-0.0.9.2/lib/Ocsinventory/Agent/Backend/OS/AIX/Software.pm Ocsinventory-Agent-0.0.9.2-nosoftware/lib/Ocsinventory/Agent/Backend/OS/AIX/Software.pm --- Ocsinventory-Agent-0.0.9.2/lib/Ocsinventory/Agent/Backend/OS/AIX/Software.pm 2008-04-02 17:33:20.000000000 +0200 +++ Ocsinventory-Agent-0.0.9.2-nosoftware/lib/Ocsinventory/Agent/Backend/OS/AIX/Software.pm 2008-09-03 15:15:05.000000000 +0200 @@ -6,8 +6,8 @@ sub check { my $params = shift; - # Do not run an package inventory if there is the --nosoft parameter - return if ($params->{params}->{nosoft}); + # Do not run an package inventory if there is the --nosoftware parameter + return if ($params->{params}->{nosoftware}); `lslpp -l 2>&1`; return if ($? >> 8)!=0; diff -Nru Ocsinventory-Agent-0.0.9.2/lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging.pm Ocsinventory-Agent-0.0.9.2-nosoftware/lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging.pm --- Ocsinventory-Agent-0.0.9.2/lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging.pm 2008-04-02 17:33:20.000000000 +0200 +++ Ocsinventory-Agent-0.0.9.2-nosoftware/lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging.pm 2008-09-03 15:15:18.000000000 +0200 @@ -5,8 +5,8 @@ sub check { my $params = shift; - # Do not run an package inventory if there is the --nosoft parameter - return if ($params->{params}->{nosoft}); + # Do not run an package inventory if there is the --nosoftware parameter + return if ($params->{params}->{nosoftware}); 1; } diff -Nru Ocsinventory-Agent-0.0.9.2/lib/Ocsinventory/Agent/Backend/OS/Solaris/Packages.pm Ocsinventory-Agent-0.0.9.2-nosoftware/lib/Ocsinventory/Agent/Backend/OS/Solaris/Packages.pm --- Ocsinventory-Agent-0.0.9.2/lib/Ocsinventory/Agent/Backend/OS/Solaris/Packages.pm 2008-04-02 17:33:20.000000000 +0200 +++ Ocsinventory-Agent-0.0.9.2-nosoftware/lib/Ocsinventory/Agent/Backend/OS/Solaris/Packages.pm 2008-09-03 15:15:33.000000000 +0200 @@ -6,8 +6,8 @@ sub check { my $params = shift; - # Do not run an package inventory if there is the --nosoft parameter - return if ($params->{params}->{nosoft}); + # Do not run an package inventory if there is the --nosoftware parameter + return if ($params->{params}->{nosoftware}); `which pkginfo 2>&1`; return if ($? >> 8)!=0; diff -Nru Ocsinventory-Agent-0.0.9.2/ocsinventory-agent Ocsinventory-Agent-0.0.9.2-nosoftware/ocsinventory-agent --- Ocsinventory-Agent-0.0.9.2/ocsinventory-agent 2008-04-18 18:49:44.000000000 +0200 +++ Ocsinventory-Agent-0.0.9.2-nosoftware/ocsinventory-agent 2008-09-03 15:24:25.000000000 +0200 @@ -210,7 +210,7 @@ }); -if ($params->{nosoftware}) { +if ($params->{nosoft}) { $logger->info("the parameter --nosoft is deprecated and may be removed in a futur release, please use --nosoftware instead."); $params->{nosoftware} = 1 }