mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-17 08:31:33 +01:00
sys-apps/man-pages: Sync with Gentoo
It's from Gentoo commit 4b42f0ce3fe4d848c4033fa7e5839068bccb2057.
This commit is contained in:
parent
114acca8ae
commit
ab2b717e3c
@ -3,6 +3,8 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit eapi9-ver
|
||||
|
||||
# Maintenance notes:
|
||||
# - Upstream are very friendly, do approach them if have any questions;
|
||||
#
|
||||
@ -133,13 +135,10 @@ src_install() {
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
for ver in ${REPLACING_VERSIONS} ; do
|
||||
if ver_test ${ver} -lt 5.13-r2 ; then
|
||||
# Avoid ACCEPT_LICENSE issues for users by default
|
||||
# bug #871636
|
||||
ewarn "This version of ${PN} no longer depends on sys-apps/man-pages-posix!"
|
||||
ewarn "Please install sys-apps/man-pages-posix yourself if needed."
|
||||
break
|
||||
fi
|
||||
done
|
||||
if ver_replacing -lt 5.13-r2 ; then
|
||||
# Avoid ACCEPT_LICENSE issues for users by default
|
||||
# bug #871636
|
||||
ewarn "This version of ${PN} no longer depends on sys-apps/man-pages-posix!"
|
||||
ewarn "Please install sys-apps/man-pages-posix yourself if needed."
|
||||
fi
|
||||
}
|
||||
|
||||
@ -1,8 +1,10 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit eapi9-ver
|
||||
|
||||
# Maintenance notes:
|
||||
# - Upstream are very friendly, do approach them if have any questions;
|
||||
#
|
||||
@ -133,13 +135,10 @@ src_install() {
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
for ver in ${REPLACING_VERSIONS} ; do
|
||||
if ver_test ${ver} -lt 5.13-r2 ; then
|
||||
# Avoid ACCEPT_LICENSE issues for users by default
|
||||
# bug #871636
|
||||
ewarn "This version of ${PN} no longer depends on sys-apps/man-pages-posix!"
|
||||
ewarn "Please install sys-apps/man-pages-posix yourself if needed."
|
||||
break
|
||||
fi
|
||||
done
|
||||
if ver_replacing -lt 5.13-r2 ; then
|
||||
# Avoid ACCEPT_LICENSE issues for users by default
|
||||
# bug #871636
|
||||
ewarn "This version of ${PN} no longer depends on sys-apps/man-pages-posix!"
|
||||
ewarn "Please install sys-apps/man-pages-posix yourself if needed."
|
||||
fi
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user