diff options
author | Johannes Schoepfer <slackbuilds@schoepfer.info> | 2020-06-14 17:35:14 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-06-20 07:59:36 +0700 |
commit | e845303faa1d24a9d7c4de1d0c10dfe6870b295c (patch) | |
tree | 78ede6504adb5fb39acf92c7ea6d0b9b747a0a97 /office/texlive | |
parent | 8676242ef2e35a829a575e3454aaf788f0f16c97 (diff) |
office/texlive: Patched to fix xindy scripts.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/texlive')
-rw-r--r-- | office/texlive/texlive.SlackBuild | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/office/texlive/texlive.SlackBuild b/office/texlive/texlive.SlackBuild index b870dbae7d07..f33177ed0592 100644 --- a/office/texlive/texlive.SlackBuild +++ b/office/texlive/texlive.SlackBuild @@ -31,7 +31,7 @@ PRGNAM=texlive SOURCEVERSION=20200327 VERSION=${VERSION:-2020.200608} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -161,8 +161,16 @@ chown -R root:root $PKG 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 +for link in $PKG$TEXMFROOT/texmf-dist/linked_scripts/* ;do \ + if [ -e "$link" ]; then + ln -sf $TEXMFROOT/texmf-dist/linked_scripts/bin/${link##*/} $PKG/usr/bin/${link##*/} + else + mv $link $PKG/usr/bin/${link##*/} + fi +done +mkdir -p $PKG$TEXMFROOT/texmf-dist/bin +mv $PKG$TEXMFROOT/texmf-dist/linked_scripts/* $PKG$TEXMFROOT/texmf-dist/bin +mv $PKG$TEXMFROOT/texmf-dist/bin $PKG$TEXMFROOT/texmf-dist/linked_scripts # set some paths sed -i \ |