From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harald Weis Subject: update-org script Date: Wed, 12 Dec 2007 17:14:29 +0100 Message-ID: <20071212161429.GA4086@pollux> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J2UFj-0004xU-5Y for emacs-orgmode@gnu.org; Wed, 12 Dec 2007 11:16:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J2UFe-0004pg-5g for emacs-orgmode@gnu.org; Wed, 12 Dec 2007 11:16:06 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J2UFd-0004pG-UY for emacs-orgmode@gnu.org; Wed, 12 Dec 2007 11:16:02 -0500 Received: from smtp8-g19.free.fr ([212.27.42.65]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J2UFd-0000kr-Go for emacs-orgmode@gnu.org; Wed, 12 Dec 2007 11:16:01 -0500 Received: from smtp8-g19.free.fr (localhost [127.0.0.1]) by smtp8-g19.free.fr (Postfix) with ESMTP id 6D21317F53B for ; Wed, 12 Dec 2007 17:14:30 +0100 (CET) Received: from che78-3-82-246-30-233.fbx.proxad.net (che78-3-82-246-30-233.fbx.proxad.net [82.246.30.233]) by smtp8-g19.free.fr (Postfix) with ESMTP id 49C0817F573 for ; Wed, 12 Dec 2007 17:14:30 +0100 (CET) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org The "shell script to simplify upgrading to the newest release" as found on the home page under the Downloads section, does no longer work as far as I understand. Most important first: the script should read: # get the tar file # [must be a generic name, not a versioned one like org-5.16b.tar.gz] #wget http://staff.science.uva.nl/~dominik/Tools/org/org.tar.gz wget http://orgmode.org/org.tar.gz Obviously, the name of the tar ball must get changed. Then: # directory where the org directory is located dir=emacs/lisp DIR=$HOME/$dir # make sure we have the lisp dir # note that 'mkdir -p $DIR' would not work # mkdir(1): "The user must have write permission in the parent directory." mkdir -p $dir Finally, I suggest a simpler ORGVER line, the argument to ``-f'' is apparently system dependent, in my case it must read ``-f9'': # what is the new directory name? # (yes I could use awk, but I can write this line faster than I could # check out the man page) #ORGVER=`tar tvf $TMPTAR | head -1 | sed 's/ */ /g' | cut -d' ' -f6` ORGVER=`tar tf $TMPTAR | head -1` It would be nice if the author of the script and Dominik Carsten could comment. Thanks in advance. HW -- FreeBSD 6.2-RELEASE-p2 #0: Tue Feb 27 22:56:09 UTC 2007 -- "If Kyoto had been influenced more by the pragmatism of scientists and engineers and less by romantic idealism, we might soon have harvested fusion energy. As it is, even given good will, it may take 20 more years before it begins to heat our electric kettles or run our word processors." James Lovelock in "The Revenge of Gaia"