From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67000 Path: news.gmane.org!not-for-mail From: Cecil Westerhof Newsgroups: gmane.comp.tex.context Subject: BASH script for installing minimals Date: Mon, 14 Mar 2011 20:56:07 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001636c5b1b7d5bd49049e76b32e X-Trace: dough.gmane.org 1300132604 32713 80.91.229.12 (14 Mar 2011 19:56:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Mar 2011 19:56:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 14 20:56:39 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PzDsd-0000z0-EE for gctc-ntg-context-518@m.gmane.org; Mon, 14 Mar 2011 20:56:39 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C6F04CAB12; Mon, 14 Mar 2011 20:56:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DSPdvR8+3HHk; Mon, 14 Mar 2011 20:56:32 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5CF6FCAB08; Mon, 14 Mar 2011 20:56:32 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0B4A9CAB08 for ; Mon, 14 Mar 2011 20:56:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qAXsdUWshvQK for ; Mon, 14 Mar 2011 20:56:23 +0100 (CET) Original-Received: from filter7-ams.mf.surf.net (filter7-ams.mf.surf.net [192.87.102.75]) by balder.ntg.nl (Postfix) with ESMTP id 85A68CAB04 for ; Mon, 14 Mar 2011 20:56:22 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter7-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2EJu759015183 for ; Mon, 14 Mar 2011 20:56:11 +0100 Original-Received: by fxm18 with SMTP id 18so4367202fxm.14 for ; Mon, 14 Mar 2011 12:56:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=2YVHmNXOv1MRGBS68KskZ8WLs6wxmdprCXH18hJDU2I=; b=UnDpwwqs7+oUp+uUoE3aSuUdn8mgcmCTICgZJut/WsdofsfWtlEq3kl8I9uwOBjZF2 xwRsPavCVPoD9ZO+wYv15E+0nSQQ4Ja3SFnKFQuJQ2zbEIfd/f2vYHqiztHTmd/RMLLv s0pFda1xiPreSBJjAYgt4oVX7rCGHt6MnXAJs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=xHkjOokfVTZHlTXonV7C9TfRJ2qXH51vjw9V8S5KAFV9tlYgr9nSHT4RnMlBTou+DD H/nY2aSP6i94h+eaDjblNrOF3jlgheS/aYTiOfvlQ2o0uCBg6nT6957hwwHg07PDPxt/ Zz0sBcWfFZXG+v3GHbIPnPnilYHgsyVPFMcws= Original-Received: by 10.223.110.206 with SMTP id o14mr11142586fap.88.1300132567301; Mon, 14 Mar 2011 12:56:07 -0700 (PDT) Original-Received: by 10.223.117.75 with HTTP; Mon, 14 Mar 2011 12:56:07 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; 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: 0DEj7U7sw - 9065a2c3db4e - 20110314 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.75 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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:67000 Archived-At: --001636c5b1b7d5bd49049e76b32e Content-Type: multipart/alternative; boundary=001636c5b1b7d5bd40049e76b32c --001636c5b1b7d5bd40049e76b32c Content-Type: text/plain; charset=ISO-8859-1 Installing minimals is sometimes a problem. Because of this I wrote a BASH script to automate it. Attached is the script I wrote to easily install the minimals. It installs in ${HOME}/ConTeXt but because I work with DRY it is easily changed. It generate almost no output: 20:47:01: fetch script 20:47:02: first setup 20:53:23: generate MKII 20:54:07: generate XeTeX 20:54:49: generate MKIV 20:55:18: Installing/updating ConTeXt took 497 seconds 20:55:18: before using ConTeXt you have to run: '. /home/cecil/ConTeXt/tex/setuptex' But the output can be found in ${HOME}/ConTeXt/install.log if needed. -- Cecil Westerhof --001636c5b1b7d5bd40049e76b32c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Installing minimals is sometimes a problem. Because of this I wrote a BASH = script to automate it. Attached is the script I wrote to easily install the= minimals.

It installs in ${HOME}/ConTeXt but because I work with DR= Y it is easily changed.

It generate almost no output:
=A0=A0=A0 20:47:01: fetch script
= =A0=A0=A0 20:47:02: first setup
=A0=A0=A0 20:53:23: generate MKII
=A0= =A0=A0 20:54:07: generate XeTeX
=A0=A0=A0 20:54:49: generate MKIV
=A0= =A0=A0 20:55:18: Installing/updating ConTeXt took 497 seconds
=A0=A0=A0 20:55:18: before using ConTeXt you have to run: '. /home/ceci= l/ConTeXt/tex/setuptex'

But the output can be found in ${HOME}/C= onTeXt/install.log if needed.

--
Cecil Westerhof --001636c5b1b7d5bd40049e76b32c-- --001636c5b1b7d5bd49049e76b32e Content-Type: application/x-sh; name="updateConTeXt.sh" Content-Disposition: attachment; filename="updateConTeXt.sh" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gl9t4yvn0 IyEvdXNyL2Jpbi9lbnYgYmFzaAoKc2V0IC1vIGVycmV4aXQKc2V0IC1vIG5vdW5zZXQKCmRlY2xh cmUgLXIgQ09OVEVYVF9ESVI9JHtIT01FfS9Db25UZVh0CmRlY2xhcmUgLXIgR0VUX1NFQ09ORFM9 ImRhdGUgKyVzIgpkZWNsYXJlIC1yIE9VVFBVVD0iJHtDT05URVhUX0RJUn0vaW5zdGFsbC5sb2ci CmRlY2xhcmUgLXIgU0VUVVBfVVJMPSJyc3luYzovL2NvbnRleHRnYXJkZW4ubmV0L21pbmltYWxz L3NldHVwL2ZpcnN0LXNldHVwLnNoIgpkZWNsYXJlIC1yIFNUQVJURUQ9JCgke0dFVF9TRUNPTkRT fSkKCmRlY2xhcmUgLXIgQUNUSVZBVEVfQ09OVEVYVD0iLiAke0NPTlRFWFRfRElSfS90ZXgvc2V0 dXB0ZXgiCgpmdW5jdGlvbiBnaXZlTWVzc2FnZSB7CiAgZWNobyAiJChkYXRlICslVCk6ICRAIgp9 CgpnaXZlTWVzc2FnZSAiZmV0Y2ggc2NyaXB0Igpta2RpciAtcCAke0NPTlRFWFRfRElSfQpybSAt ZiAke09VVFBVVH0KY2QgJHtDT05URVhUX0RJUn0KcnN5bmMgLXB0ICR7U0VUVVBfVVJMfSAuCmdp dmVNZXNzYWdlICJmaXJzdCBzZXR1cCIKLi9maXJzdC1zZXR1cC5zaCAtLWV4dHJhcz1hbGwgJj4+ JHtPVVRQVVR9CnNldCArbyBub3Vuc2V0CiR7QUNUSVZBVEVfQ09OVEVYVH0KZ2l2ZU1lc3NhZ2Ug ImdlbmVyYXRlIE1LSUkiCm1rdGV4bHNyICAgICAgICAgICAgICAgICAgICAgICY+Pi8ke09VVFBV VH0KdGV4ZXhlYyAtLW1ha2UgYWxsICAgICAgICAgICAgJj4+LyR7T1VUUFVUfQpnaXZlTWVzc2Fn ZSAiZ2VuZXJhdGUgWGVUZVgiCnRleGV4ZWMgLS1tYWtlIC0teHR4IGFsbCAgICAgICY+Pi8ke09V VFBVVH0KZ2l2ZU1lc3NhZ2UgImdlbmVyYXRlIE1LSVYiCm10eHJ1biAgIC0tc2VsZnVwZGF0ZSAg ICAgICAgICY+Pi8ke09VVFBVVH0KbXR4cnVuICAgLS1nZW5lcmF0ZSAgICAgICAgICAgJj4+LyR7 T1VUUFVUfQpsdWF0b29scyAtLWdlbmVyYXRlICAgICAgICAgICAmPj4vJHtPVVRQVVR9CmNvbnRl eHQgIC0tbWFrZSAgICAgICAgICAgICAgICY+Pi8ke09VVFBVVH0KZ2l2ZU1lc3NhZ2UgIkluc3Rh bGxpbmcvdXBkYXRpbmcgQ29uVGVYdCB0b29rICQoKCAkKCR7R0VUX1NFQ09ORFN9KSAtICR7U1RB UlRFRH0gKSkgc2Vjb25kcyIKZ2l2ZU1lc3NhZ2UgImJlZm9yZSB1c2luZyBDb25UZVh0IHlvdSBo YXZlIHRvIHJ1bjogJyR7QUNUSVZBVEVfQ09OVEVYVH0nIgo= --001636c5b1b7d5bd49049e76b32e Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --001636c5b1b7d5bd49049e76b32e--