texlive: remove -N option from wget command in termux-install-tl. (#873)
[termux-packages] / packages / texlive / termux-install-tl.sh
index 201eff9..f5e19cd 100755 (executable)
@@ -6,15 +6,14 @@ export TMPDIR=$PREFIX/tmp/
 mkdir -p $TMPDIR/termux-tl-installer
 cd $TMPDIR/termux-tl-installer
 
-wget -N http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
+wget http://mirror.ctan.org/systems/texlive/Source/install-tl-unx.tar.gz -O install-tl-unx.tar.gz
 tar xzfv install-tl-unx.tar.gz > flist
 
 cd $(head -1 flist) 
 
 #patch install-tl
 sed -E -i "s@/bin/sh@$PREFIX/bin/sh@" tlpkg/TeXLive/TLUtils.pm 
-#This patch won't be needed after the next version of fmtutil.pl is released.
-sed -i "s@fmtutil-sys \$common_fmtutil_args --no-strict --all@fmtutil-sys \$common_fmtutil_args --all@" install-tl
+
 cat > texlive_inst.profile << XXHEREXX
 
 selected_scheme scheme-custom