[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] update-org script

From: Harald Weis
Subject: [Orgmode] update-org script
Date: Wed, 12 Dec 2007 17:14:29 +0100
User-agent: Mutt/

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.

# directory where the org directory is located

# 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.
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"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]