From 9edd0c38f3ac66f0bcd4ca2a478aeb7c3ccfcaac Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sat, 11 Jul 2015 16:45:48 +0200 Subject: use package.el magic to find the lisp file Since the whole point of this package is to simplify other packages, try to set a good example. --- dh_elpa | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'dh_elpa') diff --git a/dh_elpa b/dh_elpa index fef3c27..47b8422 100755 --- a/dh_elpa +++ b/dh_elpa @@ -1,5 +1,4 @@ #!/bin/sh -LISPDIR=${LISPDIR:-/usr/share/emacs/site-lisp/elpa/dh-elpa-${VERSION}} - -emacs -batch -Q -l ${LISPDIR}/dh-elpa.el -f dhelpa-batch-install-file "$@" +emacs -batch -Q -l package -f package-initialize \ + -l dh-elpa.el -f dhelpa-batch-install-file "$@" -- cgit v1.2.3