aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2024-03-22 17:33:53 +0100
committerRobert Alessi <alessi@robertalessi.net>2024-03-22 17:33:53 +0100
commit2f2b1c9914e0c5f0cba7af1889820ef6eace5732 (patch)
tree7c95605c32873934cd951017b0734bc0f34f8a42
parent4a64475651906e3a3d408960dbfb189e333bc3f3 (diff)
downloadtexlive-openbsd-2f2b1c9914e0c5f0cba7af1889820ef6eace5732.tar.gz
mksymlinks: updated README
-rw-r--r--README.md36
-rw-r--r--mksymlinks6
2 files changed, 42 insertions, 0 deletions
diff --git a/README.md b/README.md
index f2a3098..70ead84 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,7 @@ Contents
8 - [TeX Live for OpenBSD at Utah](#tex-live-for-openbsd-at-utah) 8 - [TeX Live for OpenBSD at Utah](#tex-live-for-openbsd-at-utah)
9- [Installing TeX Live on OpenBSD With Ready-to-Use Binaries](#installing-tex-live-on-openbsd-with-ready-to-use-binaries) 9- [Installing TeX Live on OpenBSD With Ready-to-Use Binaries](#installing-tex-live-on-openbsd-with-ready-to-use-binaries)
10- [Updating the Binaries Over the Course of the Year](#updating-the-binaries-over-the-course-of-the-year) 10- [Updating the Binaries Over the Course of the Year](#updating-the-binaries-over-the-course-of-the-year)
11- [Package installation and updates](#package-installation-and-updates)
11- [Building the Sources](#building-the-sources) 12- [Building the Sources](#building-the-sources)
12- [Acknowledgements](#acknowledgements) 13- [Acknowledgements](#acknowledgements)
13 14
@@ -158,6 +159,14 @@ Please read first the reference page on this matter:
158 fc-cache -fsv 159 fc-cache -fsv
159 ``` 160 ```
160 161
162 4. Symlink `/usr/local/texlive/<yyyy>/bin/custom` to
163 `/usr/local/texlive/<yyyy>/bin/amd64-openbsd`:
164
165 ```sh
166 cd /usr/local/texlive/<yyyy>/bin/custom
167 ln -s custom amd64-openbsd
168 ```
169
1617. Reboot and enjoy TeX Live on OpenBSD! 1707. Reboot and enjoy TeX Live on OpenBSD!
162 171
163### All by hand 172### All by hand
@@ -182,6 +191,33 @@ imported the public key used to sign the archives.)
182Alternatively, the direct link to the binaries provided above can be 191Alternatively, the direct link to the binaries provided above can be
183used. 192used.
184 193
194Package installation and updates
195--------------------------------
196
197To install new packages and to update already existing ones, do:
198
199```sh
200tlmgr update --all
201```
202
203More information can be found [on this
204page](https://tug.org/texlive/pkginstall.html) or in the [full `tlmgr`
205documentation](https://tug.org/texlive/doc/tlmgr.html).
206
207A number of scripts that are shipped within TeX Live are found in the
208`texmf-dist/scripts/`. Most of them can be invoked by users from
209symlinks installed along with the usual TeX Live binaries.
210As OpenBSD is not officially supported by TeX Live, it is important to
211note that `tlmgr update --all` *does not update these links,*
212especially in the case of scripts that come with new packages. To
213update all existing links and install new links after using `tlmgr`, do:
214
215```sh
216mktexobsdsymlinks
217```
218
219This command requires the `subversion` package and must be rerun as needed.
220
185Building the sources 221Building the sources
186-------------------- 222--------------------
187 223
diff --git a/mksymlinks b/mksymlinks
index 6817fbd..efcb780 100644
--- a/mksymlinks
+++ b/mksymlinks
@@ -12,6 +12,12 @@ if [[ ! -w ${TLBINDIR} ]]; then
12 exit 1 12 exit 1
13fi 13fi
14 14
15which svn 2>&- > /dev/null
16if [[ $? -ne 0 ]];then
17 echo "Please install the subversion package."
18 exit 1
19fi
20
15svn --force export svn://tug.org/texlive/trunk/Build/source/texk/texlive/linked_scripts/scripts.lst \ 21svn --force export svn://tug.org/texlive/trunk/Build/source/texk/texlive/linked_scripts/scripts.lst \
16 ${LSTFILE} || exit 1 22 ${LSTFILE} || exit 1
17 23