aboutsummaryrefslogtreecommitdiff
path: root/src/conf/py-sample/conf.d
diff options
context:
space:
mode:
authorDavid Timber <dxdt@dev.snart.me>2022-05-17 12:52:15 +0800
committerDavid Timber <dxdt@dev.snart.me>2022-05-17 12:52:15 +0800
commitc660b8c97fdb64f22cd893e1acdb6f31e816f28f (patch)
tree7b37f0dcae1d797181c91cfc1cef949abe24631a /src/conf/py-sample/conf.d
parent38b7a8e28bc5c102c226333769ed8f2b44a8ce76 (diff)
Fix rpm-list-installed ...
- Use tab-separated list format
Diffstat (limited to 'src/conf/py-sample/conf.d')
-rw-r--r--src/conf/py-sample/conf.d/core.json16
1 files changed, 14 insertions, 2 deletions
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",