From e5b85d5a13e7967d9485197eafeb65b743fe8893 Mon Sep 17 00:00:00 2001 From: Karel Balej Date: Sat, 23 Apr 2022 18:26:03 +0200 Subject: [PATCH] texlive-bin: export MANPATH --- srcpkgs/texlive-bin/INSTALL.msg | 18 +++++++++--------- srcpkgs/texlive-bin/files/texlive.sh | 4 +++- srcpkgs/texlive-bin/template | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/srcpkgs/texlive-bin/INSTALL.msg b/srcpkgs/texlive-bin/INSTALL.msg index 72c1e0fe9a33..58930b757fd0 100644 --- a/srcpkgs/texlive-bin/INSTALL.msg +++ b/srcpkgs/texlive-bin/INSTALL.msg @@ -1,29 +1,29 @@ -- TeXLive is free software see the files: +- TeX Live is free software see the files: /usr/share/licenses/texlive-bin/LICENSE.TL /usr/share/licenses/texlive-bin/LICENSE.CTAN ===================================================================== - This package sets the location of TeXLive binary using the file: - /etc/profile.d/texlive.sh. + This package sets the location of TeX Live binaries and manual + pages using the file: /etc/profile.d/texlive.sh. see http://www.tug.org/texlive/quickinstall.html for details - Check if your PATH is update correctly with: + Check if your PATH and MANPATH are updated correctly with: $ printenv - You may need to reboot to ensure that PATH is update correctly, - for the impatients, if you want you can type + You may need to reboot to ensure that the paths are updated + correctly, for the impatients, if you want you can type $ source /etc/profile - and check the PATH. + and check PATH and MANPATH. ===================================================================== - To update you TeXLive installation use only the program + To update you TeX Live installation use only the program /opt/texlive/${VERSION}/bin//tlmgr. @@ -37,5 +37,5 @@ for the details and the documentation in - WARNING: To avoid messing up your TeXLive installation, DON'T use + WARNING: To avoid messing up your TeX Live installation, DON'T use the installation scripts in /opt/texlive-installer. diff --git a/srcpkgs/texlive-bin/files/texlive.sh b/srcpkgs/texlive-bin/files/texlive.sh index c868d50fe1e7..fdf6faf899c6 100644 --- a/srcpkgs/texlive-bin/files/texlive.sh +++ b/srcpkgs/texlive-bin/files/texlive.sh @@ -1,2 +1,4 @@ -#location of the TeXLive binaries +# location of the TeXLive binaries export PATH=$PATH:/opt/texlive/@@VERSION@@/bin/@@ARCH@@ +# and manual pages +export MANPATH=$MANPATH:/opt/texlive/@@VERSION@@/texmf-dist/doc/man diff --git a/srcpkgs/texlive-bin/template b/srcpkgs/texlive-bin/template index 26866c5e5841..05c3c33e1825 100644 --- a/srcpkgs/texlive-bin/template +++ b/srcpkgs/texlive-bin/template @@ -1,7 +1,7 @@ # Template file for 'texlive-bin' pkgname=texlive-bin version=2022 -revision=1 +revision=2 depends="texlive${version}-bin" short_desc="TeX Live Binary distribution through tl-install (newest version)" maintainer="Leah Neukirchen "