aboutsummaryrefslogtreecommitdiff
path: root/tlobsd
blob: 965516781a21374767f5d4de2f262b0d0c3ef332 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
#
# $TeX Live for OpenBSD, 2024/03/28 $

cmd=$@

# tlmgr
if [[ $1 == "tlmgr" ]];then
    $cmd
    [[ $? -eq 0 ]] && tlobsd-mksymlinks 1> /dev/null
# symlinks
elif [[ $1 == "mksymlinks" ]];then
    tlobsd-mksymlinks $2
# something that is unknown to tlobsd
else
    echo "$1 is not known to $0.  You should use:"
    echo "--> ${cmd}"
    echo "instead of:"
    echo "--> $0 ${cmd}"
fi