[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/06: gnu: btrfs-progs: Install bash completions.
From: |
Marius Bakke |
Subject: |
06/06: gnu: btrfs-progs: Install bash completions. |
Date: |
Wed, 20 Sep 2017 11:24:25 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 9a1c4a981bdd7eeca76aaf73a57d6841918821c2
Author: Marius Bakke <address@hidden>
Date: Thu Sep 14 15:30:02 2017 +0200
gnu: btrfs-progs: Install bash completions.
* gnu/packages/linux.scm (btrfs-progs)[arguments]: Add
'install-bash-completion' phase.
---
gnu/packages/linux.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 4761521..8a69f0d 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3187,6 +3187,12 @@ and copy/paste text in the console and in xterm.")
'(#:phases (modify-phases %standard-phases
(add-after 'build 'build-static
(lambda _ (zero? (system* "make" "static"))))
+ (add-after 'install 'install-bash-completion
+ (lambda* (#:key outputs #:allow-other-keys)
+ (install-file "btrfs-completion"
+ (string-append (assoc-ref outputs "out")
+ "/etc/bash_completion.d"))
+ #t))
(add-after 'install 'install-static
(let ((staticbin (string-append (assoc-ref %outputs
"static")
"/bin")))
- branch master updated (96bc651 -> 9a1c4a9), Marius Bakke, 2017/09/20
- 02/06: gnu: nspr: Update to 4.17., Marius Bakke, 2017/09/20
- 06/06: gnu: btrfs-progs: Install bash completions.,
Marius Bakke <=
- 04/06: gnu: samba: Update to 4.6.8., Marius Bakke, 2017/09/20
- 01/06: gnu: gnupg: Update to 2.2.1., Marius Bakke, 2017/09/20
- 03/06: gnu: nss, nss-certs: Update to 3.33., Marius Bakke, 2017/09/20
- 05/06: gnu: python-pyjwt: Update to 1.5.3., Marius Bakke, 2017/09/20