Commit Graph

84 Commits

Author SHA1 Message Date
Wetitpig
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Leonid Pliushch
47e114d0a8 termux-tools: do not provide file path with slash at the beginning
See https://github.com/termux/termux-app/issues/995.
2019-01-27 15:12:38 +01:00
Leonid Pliushch
2b72c14c4a termux-tools: distrubute under GPL-3.0
Same license as for Termux app.
2019-01-21 17:17:53 +02:00
Leonid Pliushch
46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Jason A. Donenfeld
db23fe725f termux-tools: use proper su search order
This mirrors the search order in the standard Android PATH, so that the
right tool is used consistently. This makes it easier for something like
Kernel Assisted Superuser to co-exist with Magisk.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-24 00:05:07 +01:00
Fredrik Fornwall
0a612d4a5c Use system top
Remove top both from busybox (which is broken on Android 8+), and
procps (which has issues on Android 8+) and use a system wrapper
in termux-tools instead.
2018-11-28 03:02:11 +01:00
Leonid Pliushch
01e27ce4f8 termux-tools: export SHELL variable on login (#2632) 2018-07-14 00:02:50 +02:00
Fredrik Fornwall
59dcdde121 termux-tools: Bump version to 0.55 after su warning in pkg 2018-06-13 01:44:07 +02:00
Jonas L
50e0cb6a8b Add root check to pkg
This prevents users from using "su pkg ..." which breaks permissions
2018-06-13 01:34:48 +02:00
Oliver Schmidhauser
7f1e6c977a unset LD_PRELOAD in su because magist 16.4 is 32 bit only 2018-05-03 22:46:20 +02:00
its-pointless
4c95eb0d93 termux-tools: Work around for when termux-exec is broken 2018-02-21 00:08:15 +01:00
Fredrik Fornwall
e9cdab3c29 termux-tools: Depend on termux-am (fixes #2101) 2018-02-06 22:34:07 +01:00
Michał Bednarski
3aa671da67 termux-am: Add package 2018-02-05 00:19:21 +01:00
Fredrik Fornwall
3fc4aa5920 termux-tools: Unset LD_PRELOAD when calling system
Some 64-bit systems seems to have 32-bit binaries in /system/bin,
so unset LD_PRELOAD before calling them. See #551.
2018-01-24 17:20:25 +01:00
Fredrik Fornwall
b069947e0d termux-tools: Avoid pm list in termux-info (#1426) 2017-11-21 05:59:47 +01:00
Fredrik Fornwall
d3215a81dd termux-tools: Unset LD_PRELOAD in dalvikvm
See https://github.com/termux/termux-packages/issues/1736
2017-11-01 15:08:50 +01:00
Oliver Schmidhauser
9e77a1160e packages->pkg in help text (#1599)
* packages->pkg in help text

* Fix pkg at a second placec
2017-10-01 21:42:37 +02:00
Fredrik Fornwall
81604d724b termux-tools: Make bin/login handle arguments
As we now use bin/login even from e.g. sshd we need to handle
arguments by forwarding it to the login shell and not displaying
a motd in that case. Fixes #1529.
2017-09-17 22:43:03 +02:00
Fredrik Fornwall
3674c3b3db termux-exec: Add package 2017-09-17 16:12:20 +02:00
Fredrik Fornwall
25697f1136 termux-tools: Replace help with wiki in motd 2017-09-10 23:14:26 +02:00
Fredrik Fornwall
fb11758d44 termux-tools: Remove 'packages' symlink 2017-09-10 22:39:45 +02:00
Fredrik Fornwall
207314894d termux-tools: Add 'pkg add' as alias install 2017-06-13 16:32:24 +02:00
Fredrik Fornwall
700ecf0fbc Use 'pkg' as shorter form of 'packages'
Fixes https://github.com/termux/termux-app/issues/321.
2017-06-12 03:01:09 +02:00
Fredrik Fornwall
b2ad42ed60 termux-tools: xdg-open should be a symlink 2017-04-16 14:37:07 +02:00
Oliver Schmidhauser
833973d1be Add termux-info tool (#422)
* Add termux-info tool

* Add more information to termux-info

* Resolve conflicts. Add comment and fix Typo.

* remove empty lines in output
2017-04-09 00:07:06 +02:00
Fredrik Fornwall
b81361aaa4 termux-tools: Bump version to 0.41 2017-04-02 14:47:41 +02:00
Leonid Pliushch
0512693840 termux-tools: fix termux-fix-shebang script (#888) 2017-04-02 14:45:35 +02:00
Fredrik Fornwall
96b1a1bbe0 termux-tools: Add 'files' command to packages 2017-03-10 15:34:17 +01:00
Fredrik Fornwall
9d99cc6543 termux-tools: Allow shorter forms in packages 2017-03-10 15:22:44 +01:00
Fredrik Fornwall
bd78c57fd7 termux-tools: Handle --help in termux-open
Fixes #801.
2017-03-01 17:20:37 +01:00
Fredrik Fornwall
30a5b5a7ad termux-tools: Bump version to 0.38 2017-02-28 00:30:51 +01:00
Fredrik Fornwall
e54c330868 termux-tools: Setup xdg-open->termux-open symlink 2017-02-28 00:30:19 +01:00
Fredrik Fornwall
2d36166493 termux-tools: Handle invalid login in chsh 2017-02-28 00:30:06 +01:00
Fredrik Fornwall
83686ac5af termux-open: Handle relative paths 2017-02-28 00:29:49 +01:00
Fredrik Fornwall
12d3fff047 termux-tools: Add termux-open 2017-02-28 00:15:22 +01:00
Fredrik Fornwall
ad966ce1e6 No .hushlogin instructions in motd for brevity 2017-02-27 21:21:43 +01:00
Fredrik Fornwall
83e3b942b5 termux-tools: Bump version to bring 'packages' 2017-02-21 23:54:24 +01:00
Fredrik Fornwall
d6df138bb1 termux-tools: Add a 'packages' utility 2017-02-17 23:13:49 +01:00
Fredrik Fornwall
94d42ba267 termux-tools: Add a login program 2017-02-12 21:01:01 +01:00
Fredrik Fornwall
a60532d853 termux-tools: Shorten width in motd 2017-02-09 10:41:26 +01:00
Fredrik Fornwall
4d7154eff8 termux-tools: Add etc/motd to be shown on login 2017-02-09 10:28:37 +01:00
Fredrik Fornwall
89956f70a1 termux-tools: Search in /system/bin for su
Fixes #723.
2017-02-03 00:04:26 +01:00
Fredrik Fornwall
4c29f84f59 termux-tools: Fix quoting in su (fixes #244) 2017-01-25 11:50:20 +01:00
Fredrik Fornwall
c9379a3ed8 termux-tools: Unset LD_LIBRARY_PATH in wrappers
Previously the wrappers assumed that if
	/system/bin/linker64
that LD_LIBRARY_PATH should be set to /system/lib64. This seems
to not always be the case (see #192) and hopefully the system
binaries should work without LD_LIBRARY_PATH being set, so we
just unset it before calling the system binary.
2017-01-08 04:53:36 -05:00
Fredrik Fornwall
5ef5713d2d termux-tools: Fix typo in termux-setup-storage 2017-01-03 17:21:43 -05:00
Fredrik Fornwall
7acdc6acea termux-tools: Bump version 2016-12-29 22:27:57 -05:00
Fredrik Fornwall
bac2fa5de0 termux-reload-settings: Update help text 2016-12-28 17:14:09 -05:00
Fredrik Fornwall
eafc139a78 termux-tools: Add termux-wake-{lock,unlock} 2016-12-25 22:29:30 -05:00
Fredrik Fornwall
b956895de8 termux-tools: Add termux-wake-{lock,unlock} 2016-12-04 04:22:32 +01:00
Fredrik Fornwall
57efacaf26 termux-tools: Add /magisk/.core/bin/su path to su
Fixes #168.
2016-11-25 20:12:52 -05:00