aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/emms.emacsen-install6
1 files changed, 4 insertions, 2 deletions
diff --git a/debian/emms.emacsen-install b/debian/emms.emacsen-install
index cbbab73..382eed7 100755
--- a/debian/emms.emacsen-install
+++ b/debian/emms.emacsen-install
@@ -33,13 +33,15 @@ fi
install -m 755 -d ${ELCDIR}
cd ${ELDIR}
FILES=`echo *.el`
-cp ${FILES} ${ELCDIR}
cd ${ELCDIR}
+for i in ${FILES}; do
+ ln -fs "/usr/share/emacs/site-lisp/${PACKAGE}/${i}"
+done
cat << EOF > path.el
(setq load-path (cons "." load-path) byte-compile-warnings nil)
EOF
${FLAVOR} ${FLAGS} ${FILES}
-rm -f *.el path.el
+rm -f path.el
exit 0