mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
app-containers/docker-compose: Port to ver_replacing
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit go-module
|
||||
inherit eapi9-ver go-module
|
||||
MY_PV=${PV/_/-}
|
||||
|
||||
DESCRIPTION="Multi-container orchestration for Docker"
|
||||
@@ -42,9 +42,7 @@ src_install() {
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
for v in ${REPLACING_VERSIONS}; do
|
||||
ver_test ${v} -ge 2 && return
|
||||
done
|
||||
ver_replacing -ge 2 && return
|
||||
ewarn
|
||||
ewarn "docker-compose 2.x is a sub command of docker"
|
||||
ewarn "Use 'docker compose' from the command line instead of"
|
||||
|
||||
Reference in New Issue
Block a user