From d916fe58f7036426e519d2ea7ff139600447a602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Fri, 14 Feb 2025 15:12:23 +0100 Subject: [PATCH] x11-apps/xinit: Port to ver_replacing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ulrich Müller --- x11-apps/xinit/xinit-1.4.3.ebuild | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/x11-apps/xinit/xinit-1.4.3.ebuild b/x11-apps/xinit/xinit-1.4.3.ebuild index b426877938593..62822d1d415c4 100644 --- a/x11-apps/xinit/xinit-1.4.3.ebuild +++ b/x11-apps/xinit/xinit-1.4.3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit xorg-3 +inherit eapi9-ver xorg-3 DESCRIPTION="X Window System initializer" @@ -61,15 +61,11 @@ pkg_postinst() { ewarn "Here's an example of setting it for the whole system:" ewarn " echo XSESSION=\"Gnome\" > /etc/env.d/90xsession" ewarn " env-update && source /etc/profile" + elif ver_replacing "-lt" "1.4.1"; then + ewarn "Starting with ${CATEGORY}/${PN}-1.4.1 serverauth files are no longer kept in the" + ewarn "home directory but rather are created in \$TMPDIR (typically /tmp). The change" + ewarn "is transparent for most of users, however those that use runtime temporary" + ewarn "directories cleaning tools, like app-admin/tmpreaper, may need to adjust them" + ewarn "not to remove the 'serverauth.*' files." fi - - for v in ${REPLACING_VERSIONS}; do - if ver_test "$v" "-lt" "1.4.1"; then - ewarn "Starting with ${CATEGORY}/${PN}-1.4.1 serverauth files are no longer kept in the" - ewarn "home directory but rather are created in \$TMPDIR (typically /tmp). The change" - ewarn "is transparent for most of users, however those that use runtime temporary" - ewarn "directories cleaning tools, like app-admin/tmpreaper, may need to adjust them" - ewarn "not to remove the 'serverauth.*' files." - fi - done }