diff options
author | Robert Alessi <alessi@robertalessi.net> | 2024-03-26 10:25:27 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2024-03-26 10:25:27 +0100 |
commit | de17259259af4c80c6aaa40645daf7af667350ff (patch) | |
tree | c1ed66cbd17fe3221d3d86e7325e1d8ccdfa5528 | |
parent | f1c6222055b350356b7b8fd278e6317c325163fd (diff) | |
download | texlive-openbsd-de17259259af4c80c6aaa40645daf7af667350ff.tar.gz |
added obsd-tlmgr wrapper script
-rw-r--r-- | obsd-tlmgr | 9 | ||||
-rwxr-xr-x | tl-build.sh | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/obsd-tlmgr b/obsd-tlmgr new file mode 100644 index 0000000..a0a5564 --- /dev/null +++ b/obsd-tlmgr | |||
@@ -0,0 +1,9 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | # $TeX Live for OpenBSD, 2024/03/26 $ | ||
4 | |||
5 | tlmgr $@ | ||
6 | |||
7 | if [[ $? -eq 0 ]];then | ||
8 | mktexobsdsymlinks 1> /dev/null | ||
9 | fi | ||
diff --git a/tl-build.sh b/tl-build.sh index 23ca054..9caa095 100755 --- a/tl-build.sh +++ b/tl-build.sh | |||
@@ -150,6 +150,7 @@ function include_extras { | |||
150 | if [[ -d ${tl_sourcedir}/inst/bin ]];then | 150 | if [[ -d ${tl_sourcedir}/inst/bin ]];then |
151 | tl_bindir=${tl_sourcedir}/inst/bin/`ls ${tl_sourcedir}/inst/bin` | 151 | tl_bindir=${tl_sourcedir}/inst/bin/`ls ${tl_sourcedir}/inst/bin` |
152 | install -m 0755 ${this_dir}/mktexobsdsymlinks ${tl_bindir}/mktexobsdsymlinks | 152 | install -m 0755 ${this_dir}/mktexobsdsymlinks ${tl_bindir}/mktexobsdsymlinks |
153 | install -m 0755 ${this_dir}/obsd-tlmgr ${tl_bindir}/obsd-tlmgr | ||
153 | fi | 154 | fi |
154 | } | 155 | } |
155 | 156 | ||