From e84a51e5c465c5bd73ef47322e10924da5e3ecea Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sat, 26 Sep 2015 09:22:11 -0300 Subject: [PATCH] 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. --- debian/notmuch-emacs.emacsen-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- 2.43.0