aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2024-03-26 10:25:27 +0100
committerRobert Alessi <alessi@robertalessi.net>2024-03-26 10:25:27 +0100
commitde17259259af4c80c6aaa40645daf7af667350ff (patch)
treec1ed66cbd17fe3221d3d86e7325e1d8ccdfa5528
parentf1c6222055b350356b7b8fd278e6317c325163fd (diff)
downloadtexlive-openbsd-de17259259af4c80c6aaa40645daf7af667350ff.tar.gz
added obsd-tlmgr wrapper script
-rw-r--r--obsd-tlmgr9
-rwxr-xr-xtl-build.sh1
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
5tlmgr $@
6
7if [[ $? -eq 0 ]];then
8 mktexobsdsymlinks 1> /dev/null
9fi
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