From 0c23da84e06f2e774f0fb69ced672d3f36cefc4b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 26 Nov 2024 09:40:18 +0200 Subject: gnu: clifm: Fix bash completion directory. * gnu/packages/clifm.scm (clifm)[arguments]: Add a phase to adjust the bash completion directory. Change-Id: I1652c9284eab295d28a82518e9e165c2b90776d9 --- gnu/packages/clifm.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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") -- cgit v1.2.3