emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Harald Weis <hawei@free.fr>
To: emacs-orgmode@gnu.org
Subject: update-org script
Date: Wed, 12 Dec 2007 17:14:29 +0100	[thread overview]
Message-ID: <20071212161429.GA4086@pollux> (raw)

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"

             reply	other threads:[~2007-12-12 16:16 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-12 16:14 Harald Weis [this message]
2007-12-12 19:17 ` update-org script 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071212161429.GA4086@pollux \
    --to=hawei@free.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).