branch: externals/system-packages
commit 360c427a1596efd6687eb6726a948b042e1c667c
Author: Alex Branham <[email protected]>
Commit: Alex Branham <[email protected]>
Adds comments to separate package managers
---
system-packages.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/system-packages.el b/system-packages.el
index 977618b..c10bba6 100644
--- a/system-packages.el
+++ b/system-packages.el
@@ -48,7 +48,9 @@
:group 'packages)
(defconst system-packages-supported-package-managers
- '((pacaur .
+ '(
+ ;; Arch-based systems
+ (pacaur .
((default-sudo . nil)
(install . "pacaur -S")
(search . "pacaur -Ss")
@@ -66,6 +68,7 @@
(remove-orphaned . "pacman -Rns $(pacman -Qtdq)")
(list-installed-packages . "pacman -Qe")
(list-installed-packages-all . "pacman -Q")))
+ ;; Debian (and Ubuntu) based systems
(apt .
((default-sudo . t)
(install . "apt-get install")
@@ -75,6 +78,8 @@
(remove-orphaned . "apt-get autoremove")
(list-installed-packages . nil)
(list-installed-packages-all . nil)))
+ (list-installed-packages-all . nil)))
+ ;; Mac
(brew .
((default-sudo . nil)
(install . "brew install")