mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/lxd: cosmetic changes to APKBUILD, cp rather than mv the lxc-to-lxd script
This commit is contained in:
parent
543d925721
commit
e1cf2b64cb
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user