homeinit: Cleanup pacman's orphan packages
parent
92930615ba
commit
1126d7a2b1
|
@ -217,7 +217,8 @@
|
|||
;;; Mail
|
||||
;;; mu4e is usually site-local and not part of ELPA.
|
||||
(when (delq nil (mapcar (lambda (path) (string-match "/mu4e/\\|/mu4e$" path)) load-path))
|
||||
(nconc package-selected-packages '(helm-mu mu4e-maildirs-extension)))
|
||||
;; (nconc package-selected-packages '(mu4e-maildirs-extension))
|
||||
(nconc package-selected-packages '(helm-mu)))
|
||||
(with-eval-after-load 'mu4e (require 'init-mu4e))
|
||||
(autoload 'mu4e-headers "mu4e")
|
||||
|
||||
|
|
|
@ -72,6 +72,10 @@ if command -v pacman >/dev/null 2>&1; then
|
|||
if $OPT_UPDATE && [ -f ~/.pkglists/arch-aur ]; then
|
||||
pacaur --noconfirm --noedit -y --needed "$(cat ~/.pkglists/arch-aur)"
|
||||
fi
|
||||
pacman_list=$(pacman -Qdtq)
|
||||
if [ -n "$pacman_list" ]; then
|
||||
sudo pacman --noconfirm -Rs "$pacman_list"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "==> 'temp' folder"
|
||||
|
|
Loading…
Reference in New Issue