Efreak
b9d67afbe4
Don't run `apt update` if it's been run recently ( #4135 )
When installing or searching for packages, the `apt update` will run only if it
was not executed within the last 5 minutes. Command `pkg upgrade` will
always execute `apt update` to ensure that latest package versions were
picked during upgrade.
5 years ago
Leonid Plyushch
68101269a9
termux-tools: use default shebang in sources
This will allow build system to set shebang according to the
current TERMUX_PREFIX.
6 years ago
Leonid Plyushch
5b74f8e0fb
termux-tools: prevent word-splitting of arguments with space
6 years ago
Leonid Plyushch
a6ebdef259
termux-tools: handle arguments for "pkg upgrade"
Fix for https://github.com/termux/termux-packages/issues/3758 .
6 years ago
Guillermo Robles
845ccdbb9c
Correct support of remove command in pkg
Fixes #3681
6 years ago
Jonas L
e59f7f1fd4
Add root check to pkg
This prevents users from using "su pkg ..." which breaks permissions
7 years ago
Oliver Schmidhauser
fc0718410c
packages->pkg in help text ( #1599 )
* packages->pkg in help text
* Fix pkg at a second placec
8 years ago
Fredrik Fornwall
29647198f1
termux-tools: Add 'pkg add' as alias install
8 years ago
Fredrik Fornwall
93f9dea39f
Use 'pkg' as shorter form of 'packages'
Fixes https://github.com/termux/termux-app/issues/321 .
8 years ago
Fredrik Fornwall
96b1a1bbe0
termux-tools: Add 'files' command to packages
8 years ago
Fredrik Fornwall
9d99cc6543
termux-tools: Allow shorter forms in packages
8 years ago
Fredrik Fornwall
d6df138bb1
termux-tools: Add a 'packages' utility
8 years ago