Browse Source

termux-tools: Add 'pkg add' as alias install

android-5
Fredrik Fornwall 8 years ago
parent
commit
29647198f1
  1. 2
      packages/termux-tools/pkg

2
packages/termux-tools/pkg

@ -25,7 +25,7 @@ shift 1
case "$CMD" in case "$CMD" in
f*) dpkg -L $@;; f*) dpkg -L $@;;
h*) show_help;; h*) show_help;;
i*) apt update; apt install $@;; add|i*) apt update; apt install $@;;
list-a*) apt list $@;; list-a*) apt list $@;;
list-i*) apt list --installed $@;; list-i*) apt list --installed $@;;
re*) apt install --reinstall $@;; re*) apt install --reinstall $@;;

Loading…
Cancel
Save