texlive: Remove outdated sed

The sed made the shebangs "#!/usr/bin/env python33"!
This commit is contained in:
Xi Ruoyao 2023-09-18 02:21:15 +08:00
parent 5e6b5ee0b3
commit cf3d607b6a
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -325,19 +325,6 @@ tar -xf ../../texlive-&tex-tlpdb-version;-tlpdb-full.tar.gz -C $TEXLIVE_PREFIX/t
close userinput, screen, comment pushd, patch, popd -->
<screen role="root"><userinput>tar -xf ../../texlive-&texmf-version;-texmf.tar.xz -C $TEXLIVE_PREFIX --strip-components=1</userinput></screen>
<para>
It has been established by Debian that the <command>python</command>
scripts in <filename class="directory">l\atex-make</filename> will work
with <command>python3</command>, so update them to invoke that by running
the following command as the <systemitem class="username">root</systemitem>
user:
</para>
<screen role="root"><userinput>for F in $TEXLIVE_PREFIX/texmf-dist/scripts/latex-make/*.py ; do
sed -i 's%/usr/bin/env python%/usr/bin/python3%' $F
done
</userinput></screen>
<para>
Still as the <systemitem class="username">root</systemitem> user,
initialize the new system (the command <command>fmtutil-sys