------------------------------------------------------------ revno: 259 committer: Bastien Guerry <b...@gnu.org> branch nick: elpa timestamp: Fri 2012-09-28 10:23:41 +0200 message: Use http://orgmode.org/elpa/ as the directory for the ELPA Org archive modified: admin/package-update.sh
=== modified file 'admin/package-update.sh' --- a/admin/package-update.sh 2011-07-01 20:32:27 +0000 +++ b/admin/package-update.sh 2012-09-28 08:23:41 +0000 @@ -82,8 +82,8 @@ echo "Not fetching Org daily from orgmode.org" else echo "Fetching Org daily from orgmode.org" - 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"}'` - wget -q http://orgmode.org/pkg/daily/${pkgname}.tar -O ${pkgname}.tar + 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"}'` + wget -q http://orgmode.org/elpa/${pkgname}.tar -O ${pkgname}.tar if [ -f ${pkgname}.tar ]; then tar xf ${pkgname}.tar rm -f ${pkgname}.tar