docker-credential-pass: Fix broken post_install
There cannot be two `post_install` hooks in the template, it made the second hook overwrite the first, which meant /usr/bin/cmd was never moved.
This commit is contained in:
committed by
Michal Vasilek
parent
4111438a55
commit
80ba3b9d3c
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'docker-credential-pass'
|
# Template file for 'docker-credential-pass'
|
||||||
pkgname=docker-credential-pass
|
pkgname=docker-credential-pass
|
||||||
version=0.6.4
|
version=0.6.4
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="docker-credential-helpers-${version}"
|
wrksrc="docker-credential-helpers-${version}"
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/docker/docker-credential-helpers"
|
go_import_path="github.com/docker/docker-credential-helpers"
|
||||||
@@ -16,8 +16,5 @@ checksum=b97d27cefb2de7a18079aad31c9aef8e3b8a38313182b73aaf8b83701275ac83
|
|||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
mv ${DESTDIR}/usr/bin/cmd ${DESTDIR}/usr/bin/docker-credential-pass
|
mv ${DESTDIR}/usr/bin/cmd ${DESTDIR}/usr/bin/docker-credential-pass
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user