|
@ -22,15 +22,15 @@ CMD="$1" |
|
|
shift 1 |
|
|
shift 1 |
|
|
|
|
|
|
|
|
case "$CMD" in |
|
|
case "$CMD" in |
|
|
help) show_help;; |
|
|
h*) show_help;; |
|
|
install) apt update; apt install $@;; |
|
|
i*) apt update; apt install $@;; |
|
|
list-all) apt list $@;; |
|
|
list-a*) apt list $@;; |
|
|
list-installed) apt list --installed $@;; |
|
|
list-i*) apt list --installed $@;; |
|
|
reinstall) apt install --reinstall $@;; |
|
|
re*) apt install --reinstall $@;; |
|
|
search) apt update; apt search $@;; |
|
|
se*) apt update; apt search $@;; |
|
|
show) apt show $@;; |
|
|
sh*) apt show $@;; |
|
|
uninstall|remove) apt remove $@;; |
|
|
un*|rem*|rm|del*) apt remove $@;; |
|
|
update|upgrade) apt update; apt full-upgrade;; |
|
|
up*) apt update; apt full-upgrade;; |
|
|
*) echo "Unknown command: '$CMD' (run 'packages help' for usage information)";; |
|
|
*) echo "Unknown command: '$CMD' (run 'packages help' for usage information)";; |
|
|
esac |
|
|
esac |
|
|
|
|
|
|
|
|