diff options
Diffstat (limited to '')
-rwxr-xr-x | source/t/texlive/texlive.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/t/texlive/texlive.SlackBuild b/source/t/texlive/texlive.SlackBuild index 064ed234f..909d1399e 100755 --- a/source/t/texlive/texlive.SlackBuild +++ b/source/t/texlive/texlive.SlackBuild @@ -34,7 +34,7 @@ PKGNAM=texlive SOURCEVERSION=${SOURCEVERSION:-20210324} TEXMFVERSION=${TEXMFVERSION:-210418} VERSION=${VERSION:-2021.$TEXMFVERSION} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TMP=${TMP:-/tmp} PKG=$TMP/package-texlive @@ -146,6 +146,12 @@ chmod -R u+w,go-w,a+rX-st $PKG # use symlinks/scripts from tlnet mv $PKG$TEXMFROOT/texmf-dist/linked_scripts/* $PKG/usr/bin rmdir $PKG$TEXMFROOT/texmf-dist/linked_scripts + +# Remove this if it's a dangling symlink: +if file $PKG/usr/bin/texdoctk | grep -wq "broken symbolic link" ; then + rm -f $PKG/usr/bin/texdoctk +fi + # xindy expects to be executed within $TEXMFROOT/texmf-dist/scripts ln -sf $TEXMFROOT/texmf-dist/scripts/xindy/xindy.pl $PKG/usr/bin/xindy |