From 14e302643235dd72ee8c0b6b31252235d67d1391 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Mon, 6 May 2019 23:21:38 +0300 Subject: [PATCH] termux-tools: handle arguments for "pkg upgrade" Fix for https://github.com/termux/termux-packages/issues/3758. --- packages/termux-tools/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/termux-tools/pkg b/packages/termux-tools/pkg index d61a10aef..c6baab2cc 100755 --- a/packages/termux-tools/pkg +++ b/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