fix: install emacs-common-non-dfsg
only if available
which it is not always, depending on apt sources
This commit is contained in:
parent
7d031e1a41
commit
5ffcf0297c
|
@ -113,6 +113,9 @@ def install_emacs(c):
|
||||||
emacs = 'emacs23-nox'
|
emacs = 'emacs23-nox'
|
||||||
|
|
||||||
install(c, emacs,
|
install(c, emacs,
|
||||||
'emacs-common-non-dfsg', # nb. includes tramp manual
|
|
||||||
'emacs-goodies-el',
|
'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')
|
||||||
|
|
Loading…
Reference in a new issue