aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-13 01:32:57 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-13 01:34:32 -0300
commit7ced6a38fd2b771ad29dc72dbc19973e182bdbfa (patch)
treeac8e7ca1f379e39af73d5e11ac92286f2d0fe3b3
parentd05adb578349fd3940a1b6d60db4a01f2bbaa928 (diff)
downloadaports-7ced6a38fd2b771ad29dc72dbc19973e182bdbfa.tar.gz
aports-7ced6a38fd2b771ad29dc72dbc19973e182bdbfa.tar.bz2
aports-7ced6a38fd2b771ad29dc72dbc19973e182bdbfa.tar.xz
community/openvswitch: remove stray /etc/bash_completion.d
-rw-r--r--community/openvswitch/APKBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/community/openvswitch/APKBUILD b/community/openvswitch/APKBUILD
index 7e9a799c56..64a75ae559 100644
--- a/community/openvswitch/APKBUILD
+++ b/community/openvswitch/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=openvswitch
pkgver=2.12.0
-pkgrel=2
+pkgrel=3
pkgdesc="A production quality, multilayer virtual switch"
url="http://openvswitch.org/"
arch="all"
@@ -54,6 +54,9 @@ package() {
cp -a "$pkgdir"/usr/share/openvswitch/python/* "$pkgdir/$_py3site"/
rm -rf "$pkgdir"/usr/share/openvswitch/python
+ mkdir -p "$pkgdir"/usr/share/bash-completion
+ mv "$pkgdir"/etc/bash_completion.d "$pkgdir"/usr/share/bash-completion/completions
+
rm -f "$pkgdir"/usr/lib/*.a
install -Dm755 "$srcdir"/ovsdb-server.initd \
"$pkgdir"/etc/init.d/ovsdb-server
@@ -89,13 +92,11 @@ _mv_files() {
}
bashcomp() {
- pkgdesc="Bash completions for $pkgname"
depends=""
+ pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
- mkdir -p "$subpkgdir"/usr/share/bash-completion/completions/$pkgname
- mv "$builddir"/utilities/*-bashcomp.bash \
- "$subpkgdir"/usr/share/bash-completion/completions/$pkgname/
+ amove usr/share/bash-completion/completions
}
_test() {