termux-packages/packages/texlive/texdef.pl.patch
Henrik Grimler 6560f14629 texlive: update to 20200406 (#5138)
* texlive-full: depend on texlive-bibtexextra as well

Fixes https://github.com/termux/termux-packages/issues/4871

* texlive-tlmgr: remove package

Will look at creating a "texlive-installer" package in the unstable
repository instead.

* texlive: fix paths in a couple of scripts

Fixes https://github.com/termux/termux-packages/issues/4823.

* texlive: upgrade to 20200410

* texlive-bin: fix path to host built otangle

* texlive: fix tlpdb version

* texlive: conflict with more subpackages from last year
2020-04-12 12:38:37 +02:00

12 lines
498 B
Diff

--- ../texdef.pl.orig 2020-04-04 09:27:54.747454581 +0200
+++ ./texmf-dist/scripts/texdef/texdef.pl 2020-04-04 09:28:20.700734760 +0200
@@ -283,7 +283,7 @@
$EDITOR = 'texworks "%f"';
}
else {
- for my $ed (qw(/usr/bin/vim /usr/bin/emacs /usr/bin/nano)) {
+ for my $ed (qw(@TERMUX_PREFIX@/bin/vim @TERMUX_PREFIX@/bin/emacs @TERMUX_PREFIX@/bin/nano)) {
if (-x $ed) {
$EDITOR = $ed;
last;