docker-compose: install bash and zsh completions
This commit is contained in:
parent
e6afdf063b
commit
7919664697
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'docker-compose'
|
||||
pkgname=docker-compose
|
||||
version=1.5.2
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="compose-${version}"
|
||||
build_style=python-module
|
||||
|
@ -20,3 +20,9 @@ checksum=8f0851b417d89bc5023e72918233449a0fa72d9952ac66494c1b37434516583d
|
|||
pre_build() {
|
||||
sed -i '/requests/s|, < 2.8||' setup.py
|
||||
}
|
||||
post_install() {
|
||||
vinstall contrib/completion/bash/docker-compose 644 \
|
||||
usr/share/bash-completion/completions docker-compose
|
||||
vinstall contrib/completion/zsh/_docker-compose 644 \
|
||||
usr/share/zsh/site-functions _docker-compose
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue