summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorDaniel Watkins <daniel.watkins@canonical.com>2019-04-18 19:05:33 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2019-04-18 19:05:33 +0000
commit947d3c20891815f164f4c7a8884d1f02ae4a9c5b (patch)
tree55fd0799c34cdbfc08ed297a74aa521a2e734598 /setup.py
parent937555fd422edf8235430afab3c0ab69f9e3b3a4 (diff)
downloadvyos-cloud-init-947d3c20891815f164f4c7a8884d1f02ae4a9c5b.tar.gz
vyos-cloud-init-947d3c20891815f164f4c7a8884d1f02ae4a9c5b.zip
setup.py: install bash completion script in new location
Per lintian, this is the path at which bash completion scripts should now be installed.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 186e215f..fcaf26ff 100755
--- a/setup.py
+++ b/setup.py
@@ -245,13 +245,14 @@ if not in_virtualenv():
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)]),