]> code.delx.au - gnu-emacs-elpa/commitdiff
Use http://orgmode.org/elpa/ as the directory for the ELPA Org archive
authorBastien Guerry <bzg@gnu.org>
Fri, 28 Sep 2012 08:23:26 +0000 (10:23 +0200)
committerBastien Guerry <bzg@gnu.org>
Fri, 28 Sep 2012 08:23:26 +0000 (10:23 +0200)
admin/org-synch.sh

index 6a13e8f1f9846a60b4f721803a4518c7863b4949..02696b25e9c9bcbc5176f838b8dd71d9551b33a9 100755 (executable)
@@ -4,10 +4,10 @@
 
 PATH="/bin:/usr/bin:/usr/local/bin:${PATH}"
 
-pkgname=`curl -s http://orgmode.org/pkg/daily/|perl -ne 'push @f, $1 if m/(org-\d{8}\.tar)/; END { @f = sort @f; print "$f[-1]\n"}'`
+pkgname=`curl -s http://orgmode.org/elpa/|perl -ne 'push @f, $1 if m/(org-\d{8}\.tar)/; END { @f = sort @f; print "$f[-1]\n"}'`
 
 cd $1
-wget -q http://orgmode.org/pkg/daily/${pkgname} -O ${pkgname}-tmp
+wget -q http://orgmode.org/elpa/${pkgname} -O ${pkgname}-tmp
 if [ -f ${pkgname}-tmp ]; then
     rm -f org*.tar
     mv ${pkgname}-tmp ${pkgname} && \