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:
parent
96e0e4d0eb
commit
5ccae3956f
@ -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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user