summaryrefslogtreecommitdiffstats
path: root/fusioninventory-agent-arch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fusioninventory-agent-arch.patch')
-rw-r--r--fusioninventory-agent-arch.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/fusioninventory-agent-arch.patch b/fusioninventory-agent-arch.patch
new file mode 100644
index 0000000..a882db6
--- /dev/null
+++ b/fusioninventory-agent-arch.patch
@@ -0,0 +1,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' .