diff options
-rw-r--r-- | README.md | 12 | ||||
-rwxr-xr-x | tl-build.sh | 4 | ||||
-rw-r--r-- | tlobsd | 16 | ||||
-rw-r--r-- | tlobsd-mksymlinks (renamed from mktexobsdsymlinks) | 0 |
4 files changed, 24 insertions, 8 deletions
@@ -197,21 +197,21 @@ Package installation and updates | |||
197 | To install new packages and to update already existing ones, do: | 197 | To install new packages and to update already existing ones, do: |
198 | 198 | ||
199 | ```sh | 199 | ```sh |
200 | obsd-tlmgr update --all | 200 | tlobsd tlmgr update --all |
201 | ``` | 201 | ``` |
202 | 202 | ||
203 | This command requires the `subversion` package. | 203 | This command requires the `subversion` package. |
204 | 204 | ||
205 | In TeX Live for OpenBSD, `obsd-tlmgr` replaces the standard `tlmgr` | 205 | In TeX Live for OpenBSD, `tlobsd tlmgr` replaces the standard `tlmgr` |
206 | command which is the command name of TeX Live package manager. | 206 | command which is the command name of TeX Live package manager. |
207 | `obsd-tlmgr` can be used with the exact same options and arguments as | 207 | `tlobsd tlmgr` can be used with the exact same options and arguments as |
208 | `tlmgr`. | 208 | `tlmgr`. |
209 | 209 | ||
210 | More information can be found [on this | 210 | More information can be found [on this |
211 | page](https://tug.org/texlive/pkginstall.html) or in the [full `tlmgr` | 211 | page](https://tug.org/texlive/pkginstall.html) or in the [full `tlmgr` |
212 | documentation](https://tug.org/texlive/doc/tlmgr.html). | 212 | documentation](https://tug.org/texlive/doc/tlmgr.html). |
213 | 213 | ||
214 | `obsd-tlmgr` updates the links to a number of scripts that are shipped | 214 | `tlobsd tlmgr` updates the links to a number of scripts that are shipped |
215 | within TeX Live and are found in the `texmf-dist/scripts/` directory. | 215 | within TeX Live and are found in the `texmf-dist/scripts/` directory. |
216 | Most of them can be invoked by users from symlinks installed along | 216 | Most of them can be invoked by users from symlinks installed along |
217 | with the usual TeX Live binaries. As OpenBSD is not officially | 217 | with the usual TeX Live binaries. As OpenBSD is not officially |
@@ -224,10 +224,10 @@ to update all existing links and install new links after using | |||
224 | `tlmgr`, like so: | 224 | `tlmgr`, like so: |
225 | 225 | ||
226 | ```sh | 226 | ```sh |
227 | mktexobsdsymlinks | 227 | tlobsd mksymlinks |
228 | ``` | 228 | ``` |
229 | 229 | ||
230 | Just as `obsd-tlmgr`, this command requires the `subversion` package. | 230 | Just as `tlobsd tlmgr`, this command requires the `subversion` package. |
231 | 231 | ||
232 | Building the sources | 232 | Building the sources |
233 | -------------------- | 233 | -------------------- |
diff --git a/tl-build.sh b/tl-build.sh index 2abd033..dcf3bfe 100755 --- a/tl-build.sh +++ b/tl-build.sh | |||
@@ -148,8 +148,8 @@ function include_asymptote { | |||
148 | function include_extras { | 148 | function include_extras { |
149 | if [[ -d ${tl_sourcedir}/inst/bin ]];then | 149 | if [[ -d ${tl_sourcedir}/inst/bin ]];then |
150 | tl_bindir=${tl_sourcedir}/inst/bin/`ls ${tl_sourcedir}/inst/bin` | 150 | tl_bindir=${tl_sourcedir}/inst/bin/`ls ${tl_sourcedir}/inst/bin` |
151 | install -m 0755 ${this_dir}/mktexobsdsymlinks ${tl_bindir}/mktexobsdsymlinks | 151 | install -m 0755 ${this_dir}/tlobsd-mksymlinks ${tl_bindir}/tlobsd-mksymlinks |
152 | install -m 0755 ${this_dir}/obsd-tlmgr ${tl_bindir}/obsd-tlmgr | 152 | install -m 0755 ${this_dir}/tlobsd ${tl_bindir}/tlobsd |
153 | fi | 153 | fi |
154 | } | 154 | } |
155 | 155 | ||
@@ -0,0 +1,16 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | # $TeX Live for OpenBSD, 2024/03/28 $ | ||
4 | |||
5 | cmd=$@ | ||
6 | |||
7 | # tlmgr | ||
8 | if [[ $1 == "tlmgr" ]];then | ||
9 | $cmd | ||
10 | [[ $? -eq 0 ]] && mktexobsdsymlinks 1> /dev/null | ||
11 | fi | ||
12 | |||
13 | # symlinks | ||
14 | if [[ $1 == "mksymlinks" ]];then | ||
15 | tlobsd-mksymlinks $2 | ||
16 | fi | ||
diff --git a/mktexobsdsymlinks b/tlobsd-mksymlinks index efcb780..efcb780 100644 --- a/mktexobsdsymlinks +++ b/tlobsd-mksymlinks | |||