Skip to content

Commit

Permalink
setup.py: install bash completion scripts to proper location
Browse files Browse the repository at this point in the history
The proper location to install bash completion scripts is
/usr/share/bash-completion/completions, use this directory instead of
/etc/bash_completion.d directly.

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
  • Loading branch information
Andrea Righi committed Nov 6, 2023
1 parent 34a8ef7 commit dc14a3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ def run(self):
package_data={"virtme.guest": package_files},
data_files=[
("/etc", ["cfg/virtme-ng.conf"]),
("/etc/bash_completion.d", ["virtme-ng-prompt"]),
("/etc/bash_completion.d", ["vng-prompt"]),
("/usr/share/bash-completion/completions", ["virtme-ng-prompt"]),
("/usr/share/bash-completion/completions", ["vng-prompt"]),
],
scripts=[
"bin/virtme-prep-kdir-mods",
Expand Down

0 comments on commit dc14a3a

Please sign in to comment.