Browse Source

Merge pull request #3682 from wynro/master

Correct support of remove command in pkg
emacs-27
Henrik Grimler 6 years ago
committed by GitHub
parent
commit
f7e2fd5847
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/termux-tools/build.sh
  2. 2
      packages/termux-tools/pkg

2
packages/termux-tools/build.sh

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://termux.com/ TERMUX_PKG_HOMEPAGE=https://termux.com/
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux" TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_VERSION=0.64 TERMUX_PKG_VERSION=0.65
TERMUX_PKG_PLATFORM_INDEPENDENT=yes TERMUX_PKG_PLATFORM_INDEPENDENT=yes
TERMUX_PKG_ESSENTIAL=yes TERMUX_PKG_ESSENTIAL=yes
TERMUX_PKG_DEPENDS="termux-am" TERMUX_PKG_DEPENDS="termux-am"

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