From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76817 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: first-setup.sh Date: Fri, 8 Jun 2012 18:47:28 +0200 Message-ID: References: <784A92B3-AB88-4C85-8AEF-CFB2636A7A94@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1339174059 8248 80.91.229.3 (8 Jun 2012 16:47:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Jun 2012 16:47:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 08 18:47:38 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sd2LX-0003pm-Ds for gctc-ntg-context-518@m.gmane.org; Fri, 08 Jun 2012 18:47:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C48C6101E7; Fri, 8 Jun 2012 18:47:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8ntf9bExwI+i; Fri, 8 Jun 2012 18:47:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4397E101E2; Fri, 8 Jun 2012 18:47:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 978BA101E2 for ; Fri, 8 Jun 2012 18:47:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id u8-x-v762ixS for ; Fri, 8 Jun 2012 18:47:30 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id D0EC0101DD for ; Fri, 8 Jun 2012 18:47:30 +0200 (CEST) Original-Received: from mail-yx0-f169.google.com (mail-yx0-f169.google.com [209.85.213.169]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q58GlT70014059 for ; Fri, 8 Jun 2012 18:47:29 +0200 Original-Received: by yenm7 with SMTP id m7so1906724yen.14 for ; Fri, 08 Jun 2012 09:47:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=X9515PakQ6iJDg16ar8zNF0Pkl/UjA+SDGSksHuuJs8=; b=IgfmKeVkLUXNvyZsMg4qVd+pvKPm63IblHvxqDosUtfAkbh2BaG36JOaagEivcP+nj kWs62bBGRPmtVZt9ig8R0CD3Dbp9BG8rSu93aiojeY9zQWy6I8aE0lNlRMTl3SKF+fBt FbnhFwTW8XoBNeIKFC14kciiL1yYxeFmNngYsMI+bCz5++Pfzjm2vqpNytjDwpOcM0zX bxMUZAsBevGWheInXmngfAuXgHuO5IxsS8M0rPslvlq1PcxTOMY2ALbEC5PoqAeRdxSy QqauxlMUWxI0+PxPgVGdB2s4NY3qpwqk9FW0fy2LWWbkdC1gBvf/S2IkvNWfqkmy8iuY Zp7Q== Original-Received: by 10.236.115.163 with SMTP id e23mr8007013yhh.95.1339174048911; Fri, 08 Jun 2012 09:47:28 -0700 (PDT) Original-Received: by 10.100.100.6 with HTTP; Fri, 8 Jun 2012 09:47:28 -0700 (PDT) In-Reply-To: <784A92B3-AB88-4C85-8AEF-CFB2636A7A94@web.de> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.213.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QHjQLt0v - 3fa51c10e980 - 20120608 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:76817 Archived-At: On Fri, Jun 8, 2012 at 6:40 PM, Andy Thomas wrote: > Hi all, > > after a lot of confusion I discovered that first-setup.sh is not Andy-proof. If there is a broken internet connection, the update lua process works and pushes the rsync error message very quickly out of the terminal. I propose to change the rsync line to > > rsync -rlptv rsync://contextgarden.net/minimals/setup/$platform/bin . || { echo "Cannot reach the repository"; exit 1; } Thank you, that makes sense, I'll change it. But I believe that some similar safeguards might be needed in the lua script (there is a slight chance that this would go through and the calls in lua script wouldn't). Mojca ___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________