[Orgmode] Org update script

2007-04-25 Thread Scott Jaderholm

Has anyone created a script for updating org? It's only a few commands but
since we're fortunate enough to get updates so frequently (thanks Carsten!)
it would be nice to only have to type one.

I don't know how to write quality scripts but I've jotted down what I think
would need to be done to make it a tiny bit easier in case no one's done it
and someone is willing to give it a shot.

wget http://staff.science.uva.nl/~dominik/Tools/org/
awk to find out version number
wget http://staff.science.uva.nl/~dominik/Tools/org/org-x.zip
tar -xvzf org-x.tar.gz
rm -rf ~/org-tar.gz
rm ~/.elisp/org
mv org-x ~/.elisp/org
cd ~/.elisp/org
make

I guess improvements could be made to keep the old version of org or revert
back if make fails.

Anyone have a script that does this or willing to take a crack at it?

Thanks,
Scott
___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Org update script

2007-04-25 Thread Scott Jaderholm

On 4/25/07, Pete Phillips [EMAIL PROTECTED] wrote:



 Scott Jaderholm [EMAIL PROTECTED] writes:



Has anyone created a script for updating org?

This will do the job.  It doesn't compile the lisp file, but I
frequently don't bother to do this anyway.  :-)



I changed it to work without symlinks because I sync the files to Windows,
and I added make, and it works great. Thanks!

# ORGDIR is a symbolic link. We get rid of it

rm -f $DIR



I'm guessing that should be rm -f $ORGDIR then?

Again, thank you!

--Scott
___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Org update script

2007-04-25 Thread Pete Phillips

 Scott == Scott Jaderholm [EMAIL PROTECTED] writes:

Pete # ORGDIR is a symbolic link. We get rid of it rm -f $DIR
Scott I'm guessing that should be rm -f $ORGDIR then?

blush

Ahh well. It is my wife's birthday, and I should have been doing other
things rather than knocking up a quick shell script!

Pete


___
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode