aboutsummaryrefslogtreecommitdiffstats
path: root/main/btrfs-progs
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-12-21 14:27:50 +0100
committerTimo Teräs <timo.teras@iki.fi>2015-12-22 06:44:06 +0000
commit6f6f040750be7c44c7466c83587db156e1ad6011 (patch)
tree10f47e3df48d91da63646e09be58abc1cc95004c /main/btrfs-progs
parent509a4abced920d15bac40839a8f6d373d9e39362 (diff)
downloadaports-6f6f040750be7c44c7466c83587db156e1ad6011.tar.bz2
aports-6f6f040750be7c44c7466c83587db156e1ad6011.tar.xz
main/btrfs-progs: fix install_if for bash completions
Only install bash completion files if bash-completion is installed.
Diffstat (limited to 'main/btrfs-progs')
-rw-r--r--main/btrfs-progs/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/btrfs-progs/APKBUILD b/main/btrfs-progs/APKBUILD
index a3e13fc4c2..adb0b69e98 100644
--- a/main/btrfs-progs/APKBUILD
+++ b/main/btrfs-progs/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=btrfs-progs
pkgver=4.3.1
-pkgrel=2
+pkgrel=3
pkgdesc="BTRFS filesystem utilities"
url="https://btrfs.wiki.kernel.org/"
arch="all"
@@ -55,7 +55,7 @@ package() {
completion() {
pkgdesc="Bash completion script for $pkgname"
- install_if="bash $pkgname=$pkgver-r$pkgrel"
+ install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
arch="noarch"
install -Dm644 "$_builddir"/btrfs-completion \