On 11/14/2020 9:23 PM, Damien Thiriet wrote:
Hi Hans,
Thanks for your answer.
I patched install.sh that way
*** install.sh Fri Nov 13 19:14:48 2020
--- /usr/local/context/install.sh Sat Nov 14 20:58:00 2020
***************
*** 100,105 ****
--- 100,111 ----
fi
fi
+ if test "$SYSTEM" = "OpenBSD" ; then
+ if test $(grep -c $(uname -r) $PWD/bin/mtx-install.lua)="0"; then
+ sed -i "/openbsd/s/[0-9]\.[0-9]/$(uname -r)/" $PWD/bin/mtx-install.lua
+ fi
+ fi
+
$PWD/bin/mtxrun --script ./bin/mtx-install.lua --update --server="$LMTXSERVER"
--instance="$LMTXINSTANCE" --platform="$PLATFORM" --erase --extras="$LMTXEXTRAS"
cp $PWD/tex/texmf-$PLATFORM/bin/mtxrun $PWD/bin/mtxrun
I thought this patch might be usefull upstream.
It succeeds in patching mtx-install.lua (I checked commenting
all the lines below my patch) but somewhere during the install process,
this patched $PWD/bin/mtx-install.lua is replaced by the original one
and install fails.
What else should I do?
wait till there's an update (you migth have to do the replacement trick
once but after that it should be ok)
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________