emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* update-org script
@ 2007-12-12 16:14 Harald Weis
  2007-12-12 19:17 ` Pete Phillips
  0 siblings, 1 reply; 23+ messages in thread
From: Harald Weis @ 2007-12-12 16:14 UTC (permalink / raw)
  To: emacs-orgmode

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"

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2007-12-14 15:38 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-12 16:14 update-org script Harald Weis
2007-12-12 19:17 ` Pete Phillips
2007-12-13 13:42   ` User Harald
2007-12-13 15:00     ` Dan Griswold
2007-12-13 15:37       ` Dan Griswold
2007-12-13 17:24       ` Pete Phillips
2007-12-13 19:20         ` Harald Weis
2007-12-13 19:23         ` Dan Griswold
2007-12-13 19:33           ` Harald Weis
2007-12-13 22:40             ` Dan Griswold
2007-12-13 22:32         ` Carsten Dominik
2007-12-14  1:23           ` Dan Griswold
2007-12-14  7:20             ` Carsten Dominik
2007-12-14  8:44               ` Pete Phillips
2007-12-14  8:53                 ` Carsten Dominik
2007-12-14 12:47                   ` Dan Griswold
2007-12-14 13:14                     ` Carsten Dominik
2007-12-14 13:39                     ` Peder O. Klingenberg
2007-12-14 15:38                       ` Carsten Dominik
2007-12-14 11:50             ` Harald Weis
2007-12-14 12:00               ` Manish
2007-12-14 12:17                 ` Harald Weis
2007-12-14 12:19               ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).