ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: Damien Thiriet <damien@thiriet.web4me.fr>, ntg-context@ntg.nl
Subject: Re: troubles when installing OpenBSD 64 binaries (install.sh?)
Date: Sun, 15 Nov 2020 12:44:39 +0100	[thread overview]
Message-ID: <61cf331e-24a8-5383-aff1-605a4d5172e8@xs4all.nl> (raw)
In-Reply-To: <20201114202324.GA45297@valencay.home>

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
___________________________________________________________________________________

  reply	other threads:[~2020-11-15 11:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-14 20:23 Damien Thiriet
2020-11-15 11:44 ` Hans Hagen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-11-14 12:47 Damien Thiriet
2020-11-14 13:38 ` Hans Hagen
2020-11-07 16:32 Damien Thiriet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=61cf331e-24a8-5383-aff1-605a4d5172e8@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=damien@thiriet.web4me.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).