aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/clifm.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/clifm.scm b/gnu/packages/clifm.scm
index 001d360e56..7406f21779 100644
--- a/gnu/packages/clifm.scm
+++ b/gnu/packages/clifm.scm
@@ -50,7 +50,12 @@
#:phases (modify-phases %standard-phases
(delete 'configure)
(delete 'build)
- (delete 'check))))
+ (delete 'check)
+ (add-after 'unpack 'fix-bash-completion-directory
+ (lambda _
+ (substitute* "Makefile"
+ (("\\$\\(DATADIR\\)/bash-completion/completions")
+ "$(PREFIX)/etc/bash_completion.d")))))))
(inputs (list acl file libcap readline))
(home-page "https://github.com/leo-arch/clifm")
(synopsis "Command-line file manager")