From: David Bremner Date: Sat, 26 Sep 2015 12:22:11 +0000 (-0300) Subject: debian: fix linking in emacsen-install script X-Git-Tag: debian/0.20.2-2~1 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=e84a51e5c465c5bd73ef47322e10924da5e3ecea debian: fix linking in emacsen-install script When upgrading emacs, the install file can (apparently) be called with the lisp files already linked into the flavour specific directories. In this case we should not fail. --- diff --git a/debian/notmuch-emacs.emacsen-install b/debian/notmuch-emacs.emacsen-install index f35ef48e..bcfdbb8a 100755 --- a/debian/notmuch-emacs.emacsen-install +++ b/debian/notmuch-emacs.emacsen-install @@ -31,7 +31,7 @@ echo install/${PACKAGE}: byte-compiling for ${FLAVOR} # Create symlinks to the .el files (see section 6E in debian-emacs # polcy). This makes complation easy, and also allows find-function # and find-library to work properly. -(cd ${elc_dir} && cp -s ${el_dir}/*.el .) +(cd ${elc_dir} && ln -sf ${el_dir}/*.el .) # Byte compile them (cd ${elc_dir}