app-containers/docker: fix pkg_postinst referencing removed IUSE=cli

Closes: https://bugs.gentoo.org/900771
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-03-11 18:38:10 +00:00
parent 83f862c61b
commit 702dc32d9f

View File

@@ -320,27 +320,6 @@ pkg_postinst() {
elog " Check https://docs.docker.com/storage/storagedriver/zfs-driver for more info"
elog
fi
if use cli; then
ewarn "Starting with docker 20.10.2, docker has been split into"
ewarn "two packages upstream, so Gentoo has followed suit."
ewarn
ewarn "app-containers/docker contains the daemon and"
ewarn "app-containers/docker-cli contains the docker command."
ewarn
ewarn "docker currently installs docker-cli using the cli use flag."
ewarn
ewarn "This use flag is temporary, so you need to take the"
ewarn "following actions:"
ewarn
ewarn "First, disable the cli use flag for app-containers/docker"
ewarn
ewarn "Then, if you need docker-cli and docker on the same machine,"
ewarn "run the following command:"
ewarn
ewarn "# emerge --noreplace docker-cli"
ewarn
fi
}
pkg_postrm() {