summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2017-03-19 13:36:33 +0200
committerMart Raudsepp <leio@gentoo.org>2017-03-19 13:43:35 +0200
commitdb0661fddcc828d5c1b05088c761c55ef796c35d (patch)
treedc092b6135809fd5efe81a27ffc54cbb31f03fca /gnome-base/gdm
parentgnome-base/gdm: bump to 3.22.3 (diff)
downloadgentoo-db0661fddcc828d5c1b05088c761c55ef796c35d.tar.gz
gentoo-db0661fddcc828d5c1b05088c761c55ef796c35d.tar.bz2
gentoo-db0661fddcc828d5c1b05088c761c55ef796c35d.zip
gnome-base/gdm: Remove 3.16 upgrade notice for 3.22 and fix it for pathological cases for 3.20
Gentoo-bug: 589470
Diffstat (limited to 'gnome-base/gdm')
-rw-r--r--gnome-base/gdm/gdm-3.20.1.ebuild12
-rw-r--r--gnome-base/gdm/gdm-3.22.3.ebuild5
2 files changed, 8 insertions, 9 deletions
diff --git a/gnome-base/gdm/gdm-3.20.1.ebuild b/gnome-base/gdm/gdm-3.20.1.ebuild
index 39bce084c9ac..ca910f7665ca 100644
--- a/gnome-base/gdm/gdm-3.20.1.ebuild
+++ b/gnome-base/gdm/gdm-3.20.1.ebuild
@@ -208,8 +208,12 @@ pkg_postinst() {
readme.gentoo_print_elog
- if ! version_is_at_least 3.16.0 ${REPLACING_VERSIONS}; then
- ewarn "GDM will now use a new TTY per logged user as explained at:"
- ewarn "https://wiki.gentoo.org/wiki/Project:GNOME/GNOME3-Troubleshooting#GDM_.3E.3D_3.16_opens_one_graphical_session_per_user"
- fi
+ local v
+ for v in ${REPLACING_VERSIONS}; do
+ if ! version_is_at_least 3.16.0 ${v}; then
+ ewarn "GDM will now use a new TTY per logged user as explained at:"
+ ewarn "https://wiki.gentoo.org/wiki/Project:GNOME/GNOME3-Troubleshooting#GDM_.3E.3D_3.16_opens_one_graphical_session_per_user"
+ break
+ fi
+ done
}
diff --git a/gnome-base/gdm/gdm-3.22.3.ebuild b/gnome-base/gdm/gdm-3.22.3.ebuild
index 9ea900fb105f..acb9419fe855 100644
--- a/gnome-base/gdm/gdm-3.22.3.ebuild
+++ b/gnome-base/gdm/gdm-3.22.3.ebuild
@@ -213,9 +213,4 @@ pkg_postinst() {
eend ${ret}
readme.gentoo_print_elog
-
- if ! version_is_at_least 3.16.0 ${REPLACING_VERSIONS}; then
- ewarn "GDM will now use a new TTY per logged user as explained at:"
- ewarn "https://wiki.gentoo.org/wiki/Project:GNOME/GNOME3-Troubleshooting#GDM_.3E.3D_3.16_opens_one_graphical_session_per_user"
- fi
}