diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2018-04-26 02:57:54 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2018-04-26 02:57:59 +0000 |
commit | e1cf2b64cbc0f1d308852b27b87a81932f0c04b7 (patch) | |
tree | ca897c29f73a98ac8ad9769d76d30bff7ad07dc5 | |
parent | 543d9257212290eb0cb27f9e86b7fdc81662b4fe (diff) | |
download | aports-e1cf2b64cbc0f1d308852b27b87a81932f0c04b7.tar.bz2 aports-e1cf2b64cbc0f1d308852b27b87a81932f0c04b7.tar.xz |
testing/lxd: cosmetic changes to APKBUILD, cp rather than mv the lxc-to-lxd script
-rw-r--r-- | testing/lxd/APKBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/lxd/APKBUILD b/testing/lxd/APKBUILD index 1403172a77..4981ca9b8b 100644 --- a/testing/lxd/APKBUILD +++ b/testing/lxd/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=lxd pkgver=3.0.0 -pkgrel=3 +pkgrel=4 pkgdesc="a container hypervisor and a new user experience for LXC" url="https://linuxcontainers.org/lxd/" arch="all" @@ -54,14 +54,17 @@ package() { bashcomp() { depends="bash" pkgdesc="Bash completions for $pkgname" + install_if="$pkgname=$pkgver-r$pkgrel bash-completion" + cd "$builddir" mkdir -p "$subpkgdir"/usr/share/bash-completion/completions - mv scripts/bash/lxd-client "$subpkgdir"/usr/share/bash-completion/completions/lxd-client + cp scripts/bash/lxd-client "$subpkgdir"/usr/share/bash-completion/completions/lxd-client } scripts() { pkgdesc="LXD scripts" depends="$pkgname python3 py3-lxc" + cd "$builddir" install -Dm755 scripts/lxc-to-lxd \ "$subpkgdir/usr/sbin/lxc-to-lxd" |