mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
sec-keys.eclass: for SLOT= packages, add slot to filename
Seen for example with apache-tomcat. It has separate keys per major version, parallel installable, with different release managers. Although that ebuild doesn't use "apache-tomcat" as the filename base, handling SLOT is necessary before considering to do so. Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
@@ -198,7 +198,11 @@ sec-keys_src_test() {
|
||||
# installed to the standard /usr/share/openpgp-keys.
|
||||
sec-keys_src_install() {
|
||||
insinto /usr/share/openpgp-keys
|
||||
doins ${PN#openpgp-keys-}.asc
|
||||
|
||||
case ${SLOT} in
|
||||
0) doins ${PN#openpgp-keys-}.asc;;
|
||||
*) newins ${PN#openpgp-keys-}.asc ${PN#openpgp-keys-}-${SLOT}.asc;;
|
||||
esac
|
||||
}
|
||||
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user