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:
Jakob Rydhof 2022-07-25 11:23:50 +02:00 committed by Michal Vasilek
parent 4111438a55
commit 80ba3b9d3c
1 changed files with 1 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'docker-credential-pass'
pkgname=docker-credential-pass
version=0.6.4
revision=1
revision=2
wrksrc="docker-credential-helpers-${version}"
build_style=go
go_import_path="github.com/docker/docker-credential-helpers"
@ -16,8 +16,5 @@ checksum=b97d27cefb2de7a18079aad31c9aef8e3b8a38313182b73aaf8b83701275ac83
post_install() {
mv ${DESTDIR}/usr/bin/cmd ${DESTDIR}/usr/bin/docker-credential-pass
}
post_install() {
vlicense LICENSE
}