aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Timber <dxdt@dev.snart.me>2024-08-18 05:42:39 +0200
committerDavid Timber <dxdt@dev.snart.me>2024-08-18 05:42:39 +0200
commite3f1651d7bf140e28f0e5183648f0f4d5ddccb18 (patch)
treedb19305cf6ceac799bfab30b635f317a7d38bf3b
parentb7ebf454066aa54891e204ae0db81c32f32bdf04 (diff)
Add dnf built-in Execs ...
- "dnf-list-userinstalled" and "dnf-group-list-installed"
-rw-r--r--src/conf/py-sample/conf.d/core.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/conf/py-sample/conf.d/core.json b/src/conf/py-sample/conf.d/core.json
index d09a43d..0736fd2 100644
--- a/src/conf/py-sample/conf.d/core.json
+++ b/src/conf/py-sample/conf.d/core.json
@@ -38,6 +38,25 @@
]
},
{
+ "id": "dnf-list-userinstalled",
+ "argv": [
+ "/bin/dnf",
+ "history",
+ "userinstalled"
+ ]
+ },
+ {
+ "id": "dnf-group-list-installed",
+ "argv": [
+ "/bin/dnf",
+ "--cacheonly",
+ "-q",
+ "group",
+ "list",
+ "--installed"
+ ]
+ },
+ {
"id": "dpkg-list-installed",
"argv": [ "/bin/dpkg-query", "-l" ]
},