diff options
Diffstat (limited to 'source/a')
-rwxr-xr-x | source/a/btrfs-progs/btrfs-progs.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/a/btrfs-progs/btrfs-progs.SlackBuild b/source/a/btrfs-progs/btrfs-progs.SlackBuild index c995a42d1..bd36c98d8 100755 --- a/source/a/btrfs-progs/btrfs-progs.SlackBuild +++ b/source/a/btrfs-progs/btrfs-progs.SlackBuild @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2009, 2010, 2011, 2015, 2017 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2009, 2010, 2011, 2015, 2017, 2024 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -119,6 +119,12 @@ make install DESTDIR=$PKG || exit 1 # Don't ship static library: rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.a +# Install the bash-completion file manually: +mkdir -p $PKG/usr/share/bash-completion/completions +cp -a btrfs-completion $PKG/usr/share/bash-completion/completions/btrfs +chown root:root $PKG/usr/share/bash-completion/completions/btrfs +chmod 644 $PKG/usr/share/bash-completion/completions/btrfs + # Strip binaries: ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null |