fix: install emacs-common-non-dfsg only if available

which it is not always, depending on apt sources
This commit is contained in:
Lance Edgar 2024-07-12 12:00:39 -05:00
parent 7d031e1a41
commit 5ffcf0297c

View file

@ -113,6 +113,9 @@ def install_emacs(c):
emacs = 'emacs23-nox'
install(c, emacs,
'emacs-common-non-dfsg', # nb. includes tramp manual
'emacs-goodies-el',
)
# nb. this includes tramp manual
if c.sudo('dpkg -s emacs-common-non-dfsg', warn=True).ok:
install(c, 'emacs-common-non-dfsg')