Merge pull request #27235 from wizzup/fix-25793

btrfs-progs : fix bash-completion
This commit is contained in:
Jörg Thalheim 2017-07-09 13:15:43 +01:00 committed by GitHub
commit 2841f7e5ea

View file

@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
# This should be fine on all platforms so apply universally
patchPhase = "sed -i s/-O1/-O2/ configure";
postInstall = ''
install -v -m 444 -D btrfs-completion $out/etc/bash_completion.d/btrfs
'';
meta = with stdenv.lib; {
description = "Utilities for the btrfs filesystem";
homepage = https://btrfs.wiki.kernel.org/;