net-misc/q: Rename binary from q-tool to q-dns

Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
This commit is contained in:
Nils Freydank 2022-09-04 13:52:05 +02:00
parent 96e0e4d0eb
commit 5ccae3956f
Signed by: nfr
GPG Key ID: 0F1DEAB2D36AD112

View File

@ -23,6 +23,7 @@ else
"
fi
MY_PN="q-dns"
KEYWORDS="~amd64"
LICENSE="AGPL-3 Apache-2.0 BSD BSD-2 GPL-3 MIT"
@ -45,14 +46,14 @@ src_compile() {
}
src_install() {
newbin ${PN} q-tool
newbin ${PN} ${MY_PN}
}
pkg_postinst() {
if [[ -z "${REPLACING_VERSION}" ]]; then
elog ""
elog "Please note that the binary is renamed to"
elog "\"q-tool\" as app-portage/portage-utils"
elog "\"${MY_PN}\" as app-portage/portage-utils"
elog "already installs the \"q\" binary."
fi
}