aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--obsd-tlmgr9
-rw-r--r--tlobsd10
2 files changed, 7 insertions, 12 deletions
diff --git a/obsd-tlmgr b/obsd-tlmgr
deleted file mode 100644
index a0a5564..0000000
--- a/obsd-tlmgr
+++ /dev/null
@@ -1,9 +0,0 @@
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/tlobsd b/tlobsd
index e5baaa5..9655167 100644
--- a/tlobsd
+++ b/tlobsd
@@ -8,9 +8,13 @@ cmd=$@
8if [[ $1 == "tlmgr" ]];then 8if [[ $1 == "tlmgr" ]];then
9 $cmd 9 $cmd
10 [[ $? -eq 0 ]] && tlobsd-mksymlinks 1> /dev/null 10 [[ $? -eq 0 ]] && tlobsd-mksymlinks 1> /dev/null
11fi
12
13# symlinks 11# symlinks
14if [[ $1 == "mksymlinks" ]];then 12elif [[ $1 == "mksymlinks" ]];then
15 tlobsd-mksymlinks $2 13 tlobsd-mksymlinks $2
14# something that is unknown to tlobsd
15else
16 echo "$1 is not known to $0. You should use:"
17 echo "--> ${cmd}"
18 echo "instead of:"
19 echo "--> $0 ${cmd}"
16fi 20fi