diff options
Diffstat (limited to 'community/icinga2/APKBUILD')
-rw-r--r-- | community/icinga2/APKBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/community/icinga2/APKBUILD b/community/icinga2/APKBUILD index ae8c2110ba..b577b29ef2 100644 --- a/community/icinga2/APKBUILD +++ b/community/icinga2/APKBUILD @@ -13,7 +13,7 @@ makedepends="$depends_dev cmake bison flex boost-dev yajl-dev install="$pkgname.pre-install $pkgname.post-install" pkgusers="icinga" pkggroups="icinga" -subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp" +subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch" source="$pkgname-$pkgver.tar.gz::https://github.com/Icinga/$pkgname/archive/v$pkgver.tar.gz $pkgname.initd" @@ -99,7 +99,7 @@ EOF bashcomp() { depends="bash" pkgdesc="Bash completions for $pkgname" - arch="noarch" + mkdir -p "$subpkgdir"/usr/share/bash-completion/completions mv "$pkgdir"/etc/bash_completion.d/$pkgname "$subpkgdir"/usr/share/bash-completion/completions/$pkgname } |