summaryrefslogtreecommitdiff
path: root/dh_elpa
diff options
context:
space:
mode:
Diffstat (limited to 'dh_elpa')
-rwxr-xr-xdh_elpa5
1 files changed, 2 insertions, 3 deletions
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 "$@"