summaryrefslogtreecommitdiffstats
path: root/fusioninventory-agent-arch.patch
blob: a882db64496944a4e85aa8702f5fe55f9b78a9b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -up FusionInventory-Agent-2.2.0/lib/FusionInventory/Agent/Task/Inventory/Input/Generic/Softwares/RPM.pm.orig FusionInventory-Agent-2.2.0/lib/FusionInventory/Agent/Task/Inventory/Input/Generic/Softwares/RPM.pm
--- FusionInventory-Agent-2.2.0/lib/FusionInventory/Agent/Task/Inventory/Input/Generic/Softwares/RPM.pm.orig	2012-04-16 09:33:21.000000000 +0200
+++ FusionInventory-Agent-2.2.0/lib/FusionInventory/Agent/Task/Inventory/Input/Generic/Softwares/RPM.pm	2012-04-16 09:33:32.000000000 +0200
@@ -17,7 +17,7 @@ sub doInventory {
 
     my $command =
         'rpm -qa --queryformat \'' .
-        '%{NAME}\t' .
+        '%{NAME}.%{ARCH}\t' .
         '%{VERSION}-%{RELEASE}\t' .
         '%{INSTALLTIME:date}\t' .
         '%{SIZE}\t' .