Skip to content

Commit

Permalink
Revert "fix #77: for system-wide installations on Linux, remove ' or …
Browse files Browse the repository at this point in the history
…die ("copy $tmppath to $path failed: $!")' because it seems to be false alarm"

This reverts commit c0be772.

The bug has been fixed upstream: http://tug.org/svn/texlive/trunk/Master/tlpkg/TeXLive/TLPDB.pm?sortby=date&r1=50091&r2=50090&pathrev=50091
  • Loading branch information
yihui committed Feb 23, 2019
1 parent 152bdfe commit 30a77be
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tools/install-base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ cd texlive
TEXLIVE_INSTALL_ENV_NOCHECK=true TEXLIVE_INSTALL_NO_WELCOME=true ../install-tl-*/install-tl -profile=../texlive.profile
rm -r ../install-tl-* ../texlive.profile install-tl.log

# I believe one line is buggy in TLPDB.pm, causing the issue
# https://github.com/yihui/tinytex/issues/77
if [ "$1" = '--admin' ]; then
sed -i 's/ or die ("copy \$tmppath to \$path failed: \$!")//' tlpkg/TeXLive/TLPDB.pm
fi

cd bin/*
if [ "$3" != '' ]; then
./tlmgr option repository "$3"
Expand Down

0 comments on commit 30a77be

Please sign in to comment.