Browse Source

Correct support of remove command in pkg

Fixes #3681
emacs-27
Guillermo Robles 6 years ago
parent
commit
845ccdbb9c
  1. 2
      packages/termux-tools/pkg

2
packages/termux-tools/pkg

@ -36,7 +36,7 @@ case "$CMD" in
add|i*) assert_not_root; apt update; apt install $@;; add|i*) assert_not_root; apt update; apt install $@;;
list-a*) apt list $@;; list-a*) apt list $@;;
list-i*) apt list --installed $@;; list-i*) apt list --installed $@;;
re*) assert_not_root; apt install --reinstall $@;; rei*) assert_not_root; apt install --reinstall $@;;
se*) assert_not_root; apt update; apt search $@;; se*) assert_not_root; apt update; apt search $@;;
sh*) apt show $@;; sh*) apt show $@;;
un*|rem*|rm|del*) assert_not_root; apt remove $@;; un*|rem*|rm|del*) assert_not_root; apt remove $@;;

Loading…
Cancel
Save