diff options
-rw-r--r-- | obsd-tlmgr | 9 | ||||
-rw-r--r-- | tlobsd | 10 |
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 | |||
5 | tlmgr $@ | ||
6 | |||
7 | if [[ $? -eq 0 ]];then | ||
8 | mktexobsdsymlinks 1> /dev/null | ||
9 | fi | ||
@@ -8,9 +8,13 @@ cmd=$@ | |||
8 | if [[ $1 == "tlmgr" ]];then | 8 | if [[ $1 == "tlmgr" ]];then |
9 | $cmd | 9 | $cmd |
10 | [[ $? -eq 0 ]] && tlobsd-mksymlinks 1> /dev/null | 10 | [[ $? -eq 0 ]] && tlobsd-mksymlinks 1> /dev/null |
11 | fi | ||
12 | |||
13 | # symlinks | 11 | # symlinks |
14 | if [[ $1 == "mksymlinks" ]];then | 12 | elif [[ $1 == "mksymlinks" ]];then |
15 | tlobsd-mksymlinks $2 | 13 | tlobsd-mksymlinks $2 |
14 | # something that is unknown to tlobsd | ||
15 | else | ||
16 | echo "$1 is not known to $0. You should use:" | ||
17 | echo "--> ${cmd}" | ||
18 | echo "instead of:" | ||
19 | echo "--> $0 ${cmd}" | ||
16 | fi | 20 | fi |