From e1cf2b64cbc0f1d308852b27b87a81932f0c04b7 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Thu, 26 Apr 2018 02:57:54 +0000 Subject: testing/lxd: cosmetic changes to APKBUILD, cp rather than mv the lxc-to-lxd script --- testing/lxd/APKBUILD | 7 +++++-- 1 file 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 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" -- cgit v1.2.3