#!/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 $(basename $0). You should use:" echo "--> ${cmd}" echo "instead of:" echo "--> $(basename $0) ${cmd}" fi