( cd usr/bin ; rm -rf a2ping )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/a2ping/a2ping.pl a2ping )
( cd usr/bin ; rm -rf a5toa4 )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pfarrei/a5toa4.tlu a5toa4 )
( cd usr/bin ; rm -rf adhocfilelist )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/adhocfilelist/adhocfilelist.sh adhocfilelist )
( cd usr/bin ; rm -rf afm2afm )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/fontools/afm2afm afm2afm )
( cd usr/bin ; rm -rf allcm )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/allcm.sh allcm )
( cd usr/bin ; rm -rf allec )
( cd usr/bin ; ln -sf allcm allec )
( cd usr/bin ; rm -rf allneeded )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/allneeded.sh allneeded )
( cd usr/bin ; rm -rf amstex )
( cd usr/bin ; ln -sf pdftex amstex )
( cd usr/bin ; rm -rf arlatex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/bundledoc/arlatex arlatex )
( cd usr/bin ; rm -rf authorindex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/authorindex/authorindex authorindex )
( cd usr/bin ; rm -rf autoinst )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/fontools/autoinst autoinst )
( cd usr/bin ; rm -rf bbl2bib )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/crossrefware/bbl2bib.pl bbl2bib )
( cd usr/bin ; rm -rf bg5+latex )
( cd usr/bin ; ln -sf gbklatex bg5+latex )
( cd usr/bin ; rm -rf bg5+pdflatex )
( cd usr/bin ; ln -sf gbkpdflatex bg5+pdflatex )
( cd usr/bin ; rm -rf bibdoiadd )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/crossrefware/bibdoiadd.pl bibdoiadd )
( cd usr/bin ; rm -rf bibexport )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/bibexport/bibexport.sh bibexport )
( cd usr/bin ; rm -rf bibmradd )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/crossrefware/bibmradd.pl bibmradd )
( cd usr/bin ; rm -rf biburl2doi )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/crossrefware/biburl2doi.pl biburl2doi )
( cd usr/bin ; rm -rf bibzbladd )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/crossrefware/bibzbladd.pl bibzbladd )
( cd usr/bin ; rm -rf bundledoc )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/bundledoc/bundledoc bundledoc )
( cd usr/bin ; rm -rf cachepic )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/cachepic/cachepic.tlu cachepic )
( cd usr/bin ; rm -rf checkcites )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/checkcites/checkcites.lua checkcites )
( cd usr/bin ; rm -rf checklistings )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/checklistings/checklistings.sh checklistings )
( cd usr/bin ; rm -rf chkweb )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/chktex/chkweb.sh chkweb )
( cd usr/bin ; rm -rf context )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/context/stubs/unix/context context )
( cd usr/bin ; rm -rf contextjit )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/context/stubs/unix/contextjit contextjit )
( cd usr/bin ; rm -rf csplain )
( cd usr/bin ; ln -sf pdftex csplain )
( cd usr/bin ; rm -rf de-macro )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/de-macro/de-macro de-macro )
( cd usr/bin ; rm -rf depythontex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pythontex/depythontex.py depythontex )
( cd usr/bin ; rm -rf deweb )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/chktex/deweb.pl deweb )
( cd usr/bin ; rm -rf diadia )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/diadia/diadia.lua diadia )
( cd usr/bin ; rm -rf dosepsbin )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/dosepsbin/dosepsbin.pl dosepsbin )
( cd usr/bin ; rm -rf dtxgen )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/dtxgen/dtxgen dtxgen )
( cd usr/bin ; rm -rf dvi2fax )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/dvi2fax.sh dvi2fax )
( cd usr/bin ; rm -rf dviasm )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/dviasm/dviasm.py dviasm )
( cd usr/bin ; rm -rf dvigif )
( cd usr/bin ; ln -sf dvipng dvigif )
( cd usr/bin ; rm -rf dviinfox )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/dviinfox/dviinfox.pl dviinfox )
( cd usr/bin ; rm -rf dvilj6 )
( cd usr/bin ; ln -sf dvilj4 dvilj6 )
( cd usr/bin ; rm -rf dvilualatex )
( cd usr/bin ; ln -sf luatex dvilualatex )
( cd usr/bin ; rm -rf dviluatex )
( cd usr/bin ; ln -sf luatex dviluatex )
( cd usr/bin ; rm -rf dvipdfm )
( cd usr/bin ; ln -sf xdvipdfmx dvipdfm )
( cd usr/bin ; rm -rf dvipdfmx )
( cd usr/bin ; ln -sf xdvipdfmx dvipdfmx )
( cd usr/bin ; rm -rf dvired )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/dvired.sh dvired )
( cd usr/bin ; rm -rf dvitomp )
( cd usr/bin ; ln -sf mpost dvitomp )
( cd usr/bin ; rm -rf e2pall )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/e2pall.pl e2pall )
( cd usr/bin ; rm -rf ebb )
( cd usr/bin ; ln -sf xdvipdfmx ebb )
( cd usr/bin ; rm -rf ebong )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/ebong/ebong.py ebong )
( cd usr/bin ; rm -rf eplain )
( cd usr/bin ; ln -sf pdftex eplain )
( cd usr/bin ; rm -rf epspdf )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/epspdf/epspdf.tlu epspdf )
( cd usr/bin ; rm -rf epspdftk )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/epspdf/epspdftk.tcl epspdftk )
( cd usr/bin ; rm -rf epstopdf )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/epstopdf/epstopdf.pl epstopdf )
( cd usr/bin ; rm -rf etex )
( cd usr/bin ; ln -sf pdftex etex )
( cd usr/bin ; rm -rf exceltex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/exceltex/exceltex exceltex )
( cd usr/bin ; rm -rf extractbb )
( cd usr/bin ; ln -sf xdvipdfmx extractbb )
( cd usr/bin ; rm -rf extractres )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/psutils/extractres.pl extractres )
( cd usr/bin ; rm -rf fig4latex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/fig4latex/fig4latex fig4latex )
( cd usr/bin ; rm -rf findhyph )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/findhyph/findhyph findhyph )
( cd usr/bin ; rm -rf fmtutil )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/fmtutil.pl fmtutil )
( cd usr/bin ; rm -rf fmtutil-sys )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/fmtutil-sys.sh fmtutil-sys )
( cd usr/bin ; rm -rf fmtutil-user )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/fmtutil-user.sh fmtutil-user )
( cd usr/bin ; rm -rf fontinst )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/fontinst.sh fontinst )
( cd usr/bin ; rm -rf fragmaster )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/fragmaster/fragmaster.pl fragmaster )
( cd usr/bin ; rm -rf getmapdl )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/getmap/getmapdl.lua getmapdl )
( cd usr/bin ; rm -rf ht )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/tex4ht/ht.sh ht )
( cd usr/bin ; rm -rf htcontext )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/tex4ht/htcontext.sh htcontext )
( cd usr/bin ; rm -rf htlatex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/tex4ht/htlatex.sh htlatex )
( cd usr/bin ; rm -rf htmex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/tex4ht/htmex.sh htmex )
( cd usr/bin ; rm -rf httex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/tex4ht/httex.sh httex )
( cd usr/bin ; rm -rf httexi )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/tex4ht/httexi.sh httexi )
( cd usr/bin ; rm -rf htxelatex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/tex4ht/htxelatex.sh htxelatex )
( cd usr/bin ; rm -rf htxetex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/tex4ht/htxetex.sh htxetex )
( cd usr/bin ; rm -rf includeres )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/psutils/includeres.pl includeres )
( cd usr/bin ; rm -rf inimf )
( cd usr/bin ; ln -sf mf inimf )
( cd usr/bin ; rm -rf initex )
( cd usr/bin ; ln -sf tex initex )
( cd usr/bin ; rm -rf installfont-tl )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/installfont/installfont-tl installfont-tl )
( cd usr/bin ; rm -rf jadetex )
( cd usr/bin ; ln -sf pdftex jadetex )
( cd usr/bin ; rm -rf kpsepath )
( cd usr/bin ; ln -sf kpsetool kpsepath )
( cd usr/bin ; rm -rf kpsetool )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/kpsetool.sh kpsetool )
( cd usr/bin ; rm -rf kpsewhere )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/kpsewhere.sh kpsewhere )
( cd usr/bin ; rm -rf kpsexpand )
( cd usr/bin ; ln -sf kpsetool kpsexpand )
( cd usr/bin ; rm -rf l3build )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/l3build/l3build.lua l3build )
( cd usr/bin ; rm -rf latex )
( cd usr/bin ; ln -sf pdftex latex )
( cd usr/bin ; rm -rf latex-git-log )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/latex-git-log/latex-git-log latex-git-log )
( cd usr/bin ; rm -rf latex-papersize )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/latex-papersize/latex-papersize.py latex-papersize )
( cd usr/bin ; rm -rf latex2man )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/latex2man/latex2man latex2man )
( cd usr/bin ; rm -rf latexdef )
( cd usr/bin ; ln -sf texdef latexdef )
( cd usr/bin ; rm -rf latexdiff )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/latexdiff/latexdiff.pl latexdiff )
( cd usr/bin ; rm -rf latexdiff-vc )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/latexdiff/latexdiff-vc.pl latexdiff-vc )
( cd usr/bin ; rm -rf latexfileversion )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/latexfileversion/latexfileversion latexfileversion )
( cd usr/bin ; rm -rf latexindent )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/latexindent/latexindent.pl latexindent )
( cd usr/bin ; rm -rf latexmk )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/latexmk/latexmk.pl latexmk )
( cd usr/bin ; rm -rf latexpand )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/latexpand/latexpand latexpand )
( cd usr/bin ; rm -rf latexrevise )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/latexdiff/latexrevise.pl latexrevise )
( cd usr/bin ; rm -rf listbib )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/listbib/listbib listbib )
( cd usr/bin ; rm -rf listings-ext.sh )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/listings-ext/listings-ext.sh listings-ext.sh )
( cd usr/bin ; rm -rf lollipop )
( cd usr/bin ; ln -sf tex lollipop )
( cd usr/bin ; rm -rf ltx2crossrefxml )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/crossrefware/ltx2crossrefxml.pl ltx2crossrefxml )
( cd usr/bin ; rm -rf ltxfileinfo )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/ltxfileinfo/ltxfileinfo ltxfileinfo )
( cd usr/bin ; rm -rf ltximg )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/ltximg/ltximg.pl ltximg )
( cd usr/bin ; rm -rf lua2dox_filter )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/lua2dox/lua2dox_filter lua2dox_filter )
( cd usr/bin ; rm -rf lualatex )
( cd usr/bin ; ln -sf luatex lualatex )
( cd usr/bin ; rm -rf luaotfload-tool )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/luaotfload/luaotfload-tool.lua luaotfload-tool )
( cd usr/bin ; rm -rf luatools )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/context/stubs/unix/luatools luatools )
( cd usr/bin ; rm -rf lwarpmk )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/lwarp/lwarpmk.lua lwarpmk )
( cd usr/bin ; rm -rf m-tx )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/m-tx/m-tx.lua m-tx )
( cd usr/bin ; rm -rf make4ht )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/make4ht/make4ht make4ht )
( cd usr/bin ; rm -rf makedtx )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/makedtx/makedtx.pl makedtx )
( cd usr/bin ; rm -rf makeglossaries )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/glossaries/makeglossaries makeglossaries )
( cd usr/bin ; rm -rf makeglossaries-lite )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/glossaries/makeglossaries-lite.lua makeglossaries-lite )
( cd usr/bin ; rm -rf match_parens )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/match_parens/match_parens match_parens )
( cd usr/bin ; rm -rf mathspic )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/mathspic/mathspic.pl mathspic )
( cd usr/bin ; rm -rf mex )
( cd usr/bin ; ln -sf pdftex mex )
( cd usr/bin ; rm -rf mf2pt1 )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/mf2pt1/mf2pt1.pl mf2pt1 )
( cd usr/bin ; rm -rf mflua-nowin )
( cd usr/bin ; ln -sf mflua mflua-nowin )
( cd usr/bin ; rm -rf mfluajit-nowin )
( cd usr/bin ; ln -sf mfluajit mfluajit-nowin )
( cd usr/bin ; rm -rf mfplain )
( cd usr/bin ; ln -sf mpost mfplain )
( cd usr/bin ; rm -rf mk4ht )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/tex4ht/mk4ht.pl mk4ht )
( cd usr/bin ; rm -rf mkgrkindex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/mkgrkindex/mkgrkindex mkgrkindex )
( cd usr/bin ; rm -rf mkjobtexmf )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl mkjobtexmf )
( cd usr/bin ; rm -rf mkpic )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/mkpic/mkpic mkpic )
( cd usr/bin ; rm -rf mkt1font )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/accfonts/mkt1font mkt1font )
( cd usr/bin ; rm -rf mktexfmt )
( cd usr/bin ; ln -sf fmtutil mktexfmt )
( cd usr/bin ; rm -rf mllatex )
( cd usr/bin ; ln -sf pdftex mllatex )
( cd usr/bin ; rm -rf mltex )
( cd usr/bin ; ln -sf pdftex mltex )
( cd usr/bin ; rm -rf mptopdf )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/context/perl/mptopdf.pl mptopdf )
( cd usr/bin ; rm -rf mtxrun )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/context/stubs/unix/mtxrun mtxrun )
( cd usr/bin ; rm -rf mtxrunjit )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/context/stubs/unix/mtxrunjit mtxrunjit )
( cd usr/bin ; rm -rf multibibliography )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/multibibliography/multibibliography.pl multibibliography )
( cd usr/bin ; rm -rf musixflx )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/musixtex/musixflx.lua musixflx )
( cd usr/bin ; rm -rf musixtex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/musixtex/musixtex.lua musixtex )
( cd usr/bin ; rm -rf ofm2opl )
( cd usr/bin ; ln -sf omfonts ofm2opl )
( cd usr/bin ; rm -rf opl2ofm )
( cd usr/bin ; ln -sf omfonts opl2ofm )
( cd usr/bin ; rm -rf ot2kpx )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/fontools/ot2kpx ot2kpx )
( cd usr/bin ; rm -rf ovf2ovp )
( cd usr/bin ; ln -sf omfonts ovf2ovp )
( cd usr/bin ; rm -rf ovp2ovf )
( cd usr/bin ; ln -sf omfonts ovp2ovf )
( cd usr/bin ; rm -rf pdf180 )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pdfjam/pdf180 pdf180 )
( cd usr/bin ; rm -rf pdf270 )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pdfjam/pdf270 pdf270 )
( cd usr/bin ; rm -rf pdf90 )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pdfjam/pdf90 pdf90 )
( cd usr/bin ; rm -rf pdfannotextractor )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pax/pdfannotextractor.pl pdfannotextractor )
( cd usr/bin ; rm -rf pdfatfi )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/oberdiek/pdfatfi.pl pdfatfi )
( cd usr/bin ; rm -rf pdfbook )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pdfjam/pdfbook pdfbook )
( cd usr/bin ; rm -rf pdfbook2 )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pdfbook2/pdfbook2 pdfbook2 )
( cd usr/bin ; rm -rf pdfcrop )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pdfcrop/pdfcrop.pl pdfcrop )
( cd usr/bin ; rm -rf pdfcsplain )
( cd usr/bin ; ln -sf pdftex pdfcsplain )
( cd usr/bin ; rm -rf pdfetex )
( cd usr/bin ; ln -sf pdftex pdfetex )
( cd usr/bin ; rm -rf pdfflip )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pdfjam/pdfflip pdfflip )
( cd usr/bin ; rm -rf pdfjadetex )
( cd usr/bin ; ln -sf pdftex pdfjadetex )
( cd usr/bin ; rm -rf pdfjam )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pdfjam/pdfjam pdfjam )
( cd usr/bin ; rm -rf pdfjam-pocketmod )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pdfjam/pdfjam-pocketmod pdfjam-pocketmod )
( cd usr/bin ; rm -rf pdfjam-slides3up )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pdfjam/pdfjam-slides3up pdfjam-slides3up )
( cd usr/bin ; rm -rf pdfjam-slides6up )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pdfjam/pdfjam-slides6up pdfjam-slides6up )
( cd usr/bin ; rm -rf pdfjoin )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pdfjam/pdfjoin pdfjoin )
( cd usr/bin ; rm -rf pdflatex )
( cd usr/bin ; ln -sf pdftex pdflatex )
( cd usr/bin ; rm -rf pdflatexpicscale )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pdflatexpicscale/pdflatexpicscale.pl pdflatexpicscale )
( cd usr/bin ; rm -rf pdfmex )
( cd usr/bin ; ln -sf pdftex pdfmex )
( cd usr/bin ; rm -rf pdfnup )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pdfjam/pdfnup pdfnup )
( cd usr/bin ; rm -rf pdfpun )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pdfjam/pdfpun pdfpun )
( cd usr/bin ; rm -rf pdfxmltex )
( cd usr/bin ; ln -sf pdftex pdfxmltex )
( cd usr/bin ; rm -rf pdfxup )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pdfxup/pdfxup pdfxup )
( cd usr/bin ; rm -rf pdvitomp )
( cd usr/bin ; ln -sf pmpost pdvitomp )
( cd usr/bin ; rm -rf pedigree )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pedigree-perl/pedigree.pl pedigree )
( cd usr/bin ; rm -rf perltex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/perltex/perltex.pl perltex )
( cd usr/bin ; rm -rf pfarrei )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pfarrei/pfarrei.tlu pfarrei )
( cd usr/bin ; rm -rf pkfix )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pkfix/pkfix.pl pkfix )
( cd usr/bin ; rm -rf pkfix-helper )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pkfix-helper/pkfix-helper pkfix-helper )
( cd usr/bin ; rm -rf platex )
( cd usr/bin ; ln -sf eptex platex )
( cd usr/bin ; rm -rf pmxchords )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pmxchords/pmxchords.lua pmxchords )
( cd usr/bin ; rm -rf pn2pdf )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/petri-nets/pn2pdf pn2pdf )
( cd usr/bin ; rm -rf ps2eps )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/ps2eps/ps2eps.pl ps2eps )
( cd usr/bin ; rm -rf ps2frag )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/ps2frag.sh ps2frag )
( cd usr/bin ; rm -rf ps4pdf )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pst-pdf/ps4pdf ps4pdf )
( cd usr/bin ; rm -rf psjoin )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/psutils/psjoin.pl psjoin )
( cd usr/bin ; rm -rf pslatex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/pslatex.sh pslatex )
( cd usr/bin ; rm -rf pst2pdf )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pst2pdf/pst2pdf.pl pst2pdf )
( cd usr/bin ; rm -rf purifyeps )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/purifyeps/purifyeps purifyeps )
( cd usr/bin ; rm -rf pygmentex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pygmentex/pygmentex.py pygmentex )
( cd usr/bin ; rm -rf pythontex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/pythontex/pythontex.py pythontex )
( cd usr/bin ; rm -rf repstopdf )
( cd usr/bin ; ln -sf epstopdf repstopdf )
( cd usr/bin ; rm -rf rpdfcrop )
( cd usr/bin ; ln -sf pdfcrop rpdfcrop )
( cd usr/bin ; rm -rf rubibtex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/rubibtex.sh rubibtex )
( cd usr/bin ; rm -rf rubikrotation )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/rubik/rubikrotation.pl rubikrotation )
( cd usr/bin ; rm -rf rumakeindex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/rumakeindex.sh rumakeindex )
( cd usr/bin ; rm -rf simpdftex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/simpdftex/simpdftex simpdftex )
( cd usr/bin ; rm -rf splitindex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/splitindex/splitindex.pl splitindex )
( cd usr/bin ; rm -rf srcredact )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/srcredact/srcredact.pl srcredact )
( cd usr/bin ; rm -rf sty2dtx )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/sty2dtx/sty2dtx.pl sty2dtx )
( cd usr/bin ; rm -rf svn-multi )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/svn-multi/svn-multi.pl svn-multi )
( cd usr/bin ; rm -rf tex4ebook )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/tex4ebook/tex4ebook tex4ebook )
( cd usr/bin ; rm -rf texconfig )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/texconfig.sh texconfig )
( cd usr/bin ; rm -rf texconfig-dialog )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/texconfig-dialog.sh texconfig-dialog )
( cd usr/bin ; rm -rf texconfig-sys )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/texconfig-sys.sh texconfig-sys )
( cd usr/bin ; rm -rf texcount )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texcount/texcount.pl texcount )
( cd usr/bin ; rm -rf texdef )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texdef/texdef.pl texdef )
( cd usr/bin ; rm -rf texdiff )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texdiff/texdiff texdiff )
( cd usr/bin ; rm -rf texdirflatten )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texdirflatten/texdirflatten texdirflatten )
( cd usr/bin ; rm -rf texdoc )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texdoc/texdoc.tlu texdoc )
( cd usr/bin ; rm -rf texdoctk )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texdoctk/texdoctk.pl texdoctk )
( cd usr/bin ; rm -rf texexec )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/context/stubs/unix/texexec texexec )
( cd usr/bin ; rm -rf texfot )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texfot/texfot.pl texfot )
( cd usr/bin ; rm -rf texhash )
( cd usr/bin ; ln -sf mktexlsr texhash )
( cd usr/bin ; rm -rf texindy )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/xindy/texindy.pl texindy )
( cd usr/bin ; rm -rf texlinks )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/texlinks.sh texlinks )
( cd usr/bin ; rm -rf texloganalyser )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texloganalyser/texloganalyser texloganalyser )
( cd usr/bin ; rm -rf texlua )
( cd usr/bin ; ln -sf luatex texlua )
( cd usr/bin ; rm -rf texlua53 )
( cd usr/bin ; ln -sf luatex53 texlua53 )
( cd usr/bin ; rm -rf texluac )
( cd usr/bin ; ln -sf luatex texluac )
( cd usr/bin ; rm -rf texluajit )
( cd usr/bin ; ln -sf luajittex texluajit )
( cd usr/bin ; rm -rf texluajitc )
( cd usr/bin ; ln -sf luajittex texluajitc )
( cd usr/bin ; rm -rf texmfstart )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/context/stubs/unix/texmfstart texmfstart )
( cd usr/bin ; rm -rf texsis )
( cd usr/bin ; ln -sf pdftex texsis )
( cd usr/bin ; rm -rf thumbpdf )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/thumbpdf/thumbpdf.pl thumbpdf )
( cd usr/bin ; rm -rf typeoutfileinfo )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh typeoutfileinfo )
( cd usr/bin ; rm -rf ulqda )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/ulqda/ulqda.pl ulqda )
( cd usr/bin ; rm -rf updmap )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/updmap.pl updmap )
( cd usr/bin ; rm -rf updmap-sys )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/updmap-sys.sh updmap-sys )
( cd usr/bin ; rm -rf updmap-user )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/texlive/updmap-user.sh updmap-user )
( cd usr/bin ; rm -rf updvitomp )
( cd usr/bin ; ln -sf upmpost updvitomp )
( cd usr/bin ; rm -rf uplatex )
( cd usr/bin ; ln -sf euptex uplatex )
( cd usr/bin ; rm -rf urlbst )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/urlbst/urlbst urlbst )
( cd usr/bin ; rm -rf utf8mex )
( cd usr/bin ; ln -sf pdftex utf8mex )
( cd usr/bin ; rm -rf vpe )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/vpe/vpe.pl vpe )
( cd usr/bin ; rm -rf vpl2ovp )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/accfonts/vpl2ovp vpl2ovp )
( cd usr/bin ; rm -rf vpl2vpl )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/accfonts/vpl2vpl vpl2vpl )
( cd usr/bin ; rm -rf wordcount )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/wordcount/wordcount.sh wordcount )
( cd usr/bin ; rm -rf xelatex )
( cd usr/bin ; ln -sf xetex xelatex )
( cd usr/bin ; rm -rf xhlatex )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/tex4ht/xhlatex.sh xhlatex )
( cd usr/bin ; rm -rf xindy )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/xindy/xindy.pl xindy )
( cd usr/bin ; rm -rf xmltex )
( cd usr/bin ; ln -sf pdftex xmltex )
( cd usr/bin ; rm -rf yplan )
( cd usr/bin ; ln -sf ../share/texmf-dist/scripts/yplan/yplan yplan )
( cd usr/doc/texlive-2018.180822 ; rm -rf doc )
( cd usr/doc/texlive-2018.180822 ; ln -sf ../../share/texmf-dist/doc doc )
( cd usr/lib64 ; rm -rf libkpathsea.so )
( cd usr/lib64 ; ln -sf libkpathsea.so.6.3.0 libkpathsea.so )
( cd usr/lib64 ; rm -rf libkpathsea.so.6 )
( cd usr/lib64 ; ln -sf libkpathsea.so.6.3.0 libkpathsea.so.6 )
( cd usr/lib64 ; rm -rf libptexenc.so )
( cd usr/lib64 ; ln -sf libptexenc.so.1.3.6 libptexenc.so )
( cd usr/lib64 ; rm -rf libptexenc.so.1 )
( cd usr/lib64 ; ln -sf libptexenc.so.1.3.6 libptexenc.so.1 )
( cd usr/lib64 ; rm -rf libsynctex.so )
( cd usr/lib64 ; ln -sf libsynctex.so.1.21.0 libsynctex.so )
( cd usr/lib64 ; rm -rf libsynctex.so.1 )
( cd usr/lib64 ; ln -sf libsynctex.so.1.21.0 libsynctex.so.1 )
( cd usr/lib64 ; rm -rf libtexlua52.so )
( cd usr/lib64 ; ln -sf libtexlua52.so.5.2.4 libtexlua52.so )
( cd usr/lib64 ; rm -rf libtexlua52.so.5 )
( cd usr/lib64 ; ln -sf libtexlua52.so.5.2.4 libtexlua52.so.5 )
( cd usr/lib64 ; rm -rf libtexlua53.so )
( cd usr/lib64 ; ln -sf libtexlua53.so.5.3.4 libtexlua53.so )
( cd usr/lib64 ; rm -rf libtexlua53.so.5 )
( cd usr/lib64 ; ln -sf libtexlua53.so.5.3.4 libtexlua53.so.5 )
( cd usr/lib64 ; rm -rf libtexluajit.so )
( cd usr/lib64 ; ln -sf libtexluajit.so.2.1.0 libtexluajit.so )
( cd usr/lib64 ; rm -rf libtexluajit.so.2 )
( cd usr/lib64 ; ln -sf libtexluajit.so.2.1.0 libtexluajit.so.2 )

# This install script should not collide with any other script's activities,
# so don't demand a lock by installpkg: NOLOCK
chroot . /usr/bin/mktexlsr 1>/dev/null 2>/dev/null
printf "y\n" | chroot . /usr/bin/updmap-sys --syncwithtrees 1>/dev/null 2>/dev/null
chroot . /usr/bin/updmap-sys 1>/dev/null 2>/dev/null
chroot . /usr/bin/fmtutil-sys --missing 1>/dev/null 2>/dev/null
chroot . /usr/bin/mtxrun --generate 1>/dev/null 2>/dev/null
