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
|
fi
|
||||||
|
|
||||||
|
MY_PN="q-dns"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
LICENSE="AGPL-3 Apache-2.0 BSD BSD-2 GPL-3 MIT"
|
LICENSE="AGPL-3 Apache-2.0 BSD BSD-2 GPL-3 MIT"
|
||||||
|
|
||||||
@ -45,14 +46,14 @@ src_compile() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
newbin ${PN} q-tool
|
newbin ${PN} ${MY_PN}
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
if [[ -z "${REPLACING_VERSION}" ]]; then
|
if [[ -z "${REPLACING_VERSION}" ]]; then
|
||||||
elog ""
|
elog ""
|
||||||
elog "Please note that the binary is renamed to"
|
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."
|
elog "already installs the \"q\" binary."
|
||||||
fi
|
fi
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user