From c660b8c97fdb64f22cd893e1acdb6f31e816f28f Mon Sep 17 00:00:00 2001 From: David Timber Date: Tue, 17 May 2022 12:52:15 +0800 Subject: Fix rpm-list-installed ... - Use tab-separated list format --- src/conf/py-sample/conf.d/core.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'src/conf/py-sample/conf.d') diff --git a/src/conf/py-sample/conf.d/core.json b/src/conf/py-sample/conf.d/core.json index 7145eae..d09a43d 100644 --- a/src/conf/py-sample/conf.d/core.json +++ b/src/conf/py-sample/conf.d/core.json @@ -2,7 +2,14 @@ "execs": [ { "id": "tar", - "argv": [ "/bin/tar", "--xattrs", "--selinux", "--warning=none", "-cf", "-" ], + "argv": [ + "/bin/tar", + "--xattrs", + "--selinux", + "--warning=none", + "-cf", + "-" + ], "ec": "<2" }, { @@ -23,7 +30,12 @@ }, { "id": "rpm-list-installed", - "argv": [ "/bin/rpm", "-qa" ] + "argv": [ + "/bin/rpm", + "-qa", + "--qf", + "%{name}\\t%{version}-%{release}.%{arch}\\t%{vendor}\\n" + ] }, { "id": "dpkg-list-installed", -- cgit v1.2.3-70-g09d2