aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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