branch: externals/system-packages
commit 47cef47c5afb90ee6c56216bc64b99f7c3649be1
Author: Alex Branham <[email protected]>
Commit: Alex Branham <[email protected]>
Adds support for aptitude
---
system-packages.el | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/system-packages.el b/system-packages.el
index eac40e4..eb1c0aa 100644
--- a/system-packages.el
+++ b/system-packages.el
@@ -69,6 +69,15 @@
(list-installed-packages . "pacman -Qe")
(list-installed-packages-all . "pacman -Q")))
;; Debian (and Ubuntu) based systems
+ (aptitude .
+ ((default-sudo . t)
+ (install . "aptitude install")
+ (search . "aptitude search")
+ (uninstall . "aptitude remove")
+ (update . ("aptitude update"))
+ (remove-orphaned . nil) ; aptitude does this automatically
+ (list-installed-packages . "aptitude search '~i!~M'")
+ (list-installed-packages-all . nil)))
(apt .
((default-sudo . t)
(install . "apt-get install")