Skip to content

Commit

Permalink
setup.py: install bash completion script in new location
Browse files Browse the repository at this point in the history
Per lintian, this is the path at which bash completion scripts should
now be installed.
  • Loading branch information
Daniel Watkins authored and Server Team CI Bot committed Apr 18, 2019
1 parent 937555f commit 947d3c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -245,13 +245,14 @@ def finalize_options(self):
INITSYS_ROOTS[k] = "/" + INITSYS_ROOTS[k]

data_files = [
(ETC + '/bash_completion.d', ['bash_completion/cloud-init']),
(ETC + '/cloud', [render_tmpl("config/cloud.cfg.tmpl")]),
(ETC + '/cloud/cloud.cfg.d', glob('config/cloud.cfg.d/*')),
(ETC + '/cloud/templates', glob('templates/*')),
(USR_LIB_EXEC + '/cloud-init', ['tools/ds-identify',
'tools/uncloud-init',
'tools/write-ssh-key-fingerprints']),
(USR + '/share/bash-completion/completions',
['bash_completion/cloud-init']),
(USR + '/share/doc/cloud-init', [f for f in glob('doc/*') if is_f(f)]),
(USR + '/share/doc/cloud-init/examples',
[f for f in glob('doc/examples/*') if is_f(f)]),
Expand Down

0 comments on commit 947d3c2

Please sign in to comment.