branch: externals/system-packages
commit 07d909ebfb22fdc4242a568f64d46959646456bf
Author: Alex Branham <[email protected]>
Commit: Alex Branham <[email protected]>

    Adds support for yum
---
 system-packages.el | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/system-packages.el b/system-packages.el
index c93d708..eac40e4 100644
--- a/system-packages.el
+++ b/system-packages.el
@@ -88,6 +88,14 @@
           (remove-orphaned . "dnf autoremove")
           (list-installed-packages . "dnf list --installed")
           (list-installed-packages-all . nil)))
+    (yum .
+         ((default-sudo . t)
+          (install . "yum install")
+          (search . "yum search")
+          (uninstall . "yum remove")
+          (update . ("yum update"))
+          (remove-orphaned . "yum autoremove")
+          (list-installed-packages . "yum list")
           (list-installed-packages-all . nil)))
     ;; Mac
     (brew .

Reply via email to