Skip to content
Snippets Groups Projects
Commit 8f6fe9e0 authored by healther's avatar healther Committed by Adam J. Stewart
Browse files

Fix installation of bash-completion (#6911)

* Fix installation of bash-completion

* use run_before decorator instead of overriding install method
parent e583d789
Branches
Tags
No related merge requests found
......@@ -42,6 +42,10 @@ class BashCompletion(AutotoolsPackage):
# Other dependencies
depends_on('bash@4.1:', type='run')
@run_before('install')
def create_install_directory(self):
mkdirp(join_path(self.prefix.share, 'bash-completion', 'completions'))
@run_after('install')
def show_message_to_user(self):
prefix = self.prefix
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment