|
|
|
@ -46,6 +46,11 @@ case "$cmd" in |
|
|
|
echo "Removing '$@' and dependencies ..." |
|
|
|
pacman -Rs "$@" |
|
|
|
;; |
|
|
|
autoremove) |
|
|
|
# Remove orphaned packages |
|
|
|
echo "Removing orphaned packages" |
|
|
|
pacman -Qdtq | pacman -Rs - |
|
|
|
;; |
|
|
|
purge) |
|
|
|
# Remove package, dependencies and all of the config files |
|
|
|
echo "Removing '$@', configurations and dependencies ..." |
|
|
|
@ -87,6 +92,7 @@ case "$cmd" in |
|
|
|
echo "upgradeable - List upgradeable packages" |
|
|
|
echo "install | reinstall - (re)Install packages" |
|
|
|
echo "remove - Uninstall package" |
|
|
|
echo "autoremove - Uninstalling orphaned packages" |
|
|
|
echo "purge - Uninstall package and clean config" |
|
|
|
echo "check - Check for broken dependencies" |
|
|
|
echo "search - Search package" |
|
|
|
|