From c69d8bd12f63d8b739bf5bb8f3baf5d234c1842a Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Thu, 28 Mar 2024 14:01:50 +0100 Subject: removed obsd-tlmgr --- obsd-tlmgr | 9 --------- tlobsd | 10 +++++++--- 2 files changed, 7 insertions(+), 12 deletions(-) delete mode 100644 obsd-tlmgr diff --git a/obsd-tlmgr b/obsd-tlmgr deleted file mode 100644 index a0a5564..0000000 --- a/obsd-tlmgr +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -# -# $TeX Live for OpenBSD, 2024/03/26 $ - -tlmgr $@ - -if [[ $? -eq 0 ]];then - mktexobsdsymlinks 1> /dev/null -fi diff --git a/tlobsd b/tlobsd index e5baaa5..9655167 100644 --- a/tlobsd +++ b/tlobsd @@ -8,9 +8,13 @@ cmd=$@ if [[ $1 == "tlmgr" ]];then $cmd [[ $? -eq 0 ]] && tlobsd-mksymlinks 1> /dev/null -fi - # symlinks -if [[ $1 == "mksymlinks" ]];then +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 -- cgit v1.2.3