diff options
| author | David Bremner <david@tethera.net> | 2015-09-26 09:22:11 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2015-09-26 09:22:11 -0300 |
| commit | e84a51e5c465c5bd73ef47322e10924da5e3ecea (patch) | |
| tree | d13cc1be0df4af592476ec70e9dccfcc81f9296b /debian | |
| parent | c66e0d4bc2b2152a5d9b1f300fcf5c853bc07cb6 (diff) | |
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.
Diffstat (limited to 'debian')
| -rwxr-xr-x | debian/notmuch-emacs.emacsen-install | 2 |
1 files changed, 1 insertions, 1 deletions
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} |
