Browse Source

termux-tools: handle arguments for "pkg upgrade"

Fix for https://github.com/termux/termux-packages/issues/3758.
emacs-27
Leonid Plyushch 6 years ago
parent
commit
a6ebdef259
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 2
      packages/termux-tools/pkg

2
packages/termux-tools/pkg

@ -40,7 +40,7 @@ case "$CMD" in
se*) assert_not_root; apt update; apt search $@;;
sh*) apt show $@;;
un*|rem*|rm|del*) assert_not_root; apt remove $@;;
up*) assert_not_root; apt update; apt full-upgrade;;
up*) assert_not_root; apt update; apt full-upgrade $@;;
*) echo "Unknown command: '$CMD' (run 'pkg help' for usage information)";;
esac

Loading…
Cancel
Save