#!/bin/sh # # $TeX Live for OpenBSD, 2024/03/28 $ cmd=$@ export tlobsd=1 # no $cmd if [[ -z ${cmd} ]];then echo "$(basename $0): unknown action" exit 1 # tlmgr elif [[ $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). Try: ${cmd} --help if you need it." exit 1 fi