Skip to content

Commit

Permalink
gui-libs/display-manager-init: Improve instructions
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Feb 5, 2021
1 parent d924386 commit ce5a697
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions gui-libs/display-manager-init/display-manager-init-1.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ DESCRIPTION="RC init files for starting display and login managers"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:X11"

LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux"

S="${FILESDIR}"
S="${WORKDIR}"

RDEPEND="
sys-apps/gentoo-functions
Expand Down Expand Up @@ -42,10 +42,13 @@ pkg_preinst() {
fi
done
if [[ "${using_xdm}" = "yes" ]]; then
ewarn "The 'xdm' service has been removed as it is"
ewarn "being replaced by the 'display-manager' service."
ewarn "Please migrate to using 'display-manager' and"
ewarn "remember to use dispatch-conf to update the"
ewarn "The 'xdm' service has been replaced by new 'display-manager'"
ewarn "service, please switch now:"
ewarn
ewarn " # rc-update del xdm default"
ewarn " # rc-update add display-manager default"
ewarn
ewarn "Remember to run etc-update or dispatch-conf to update the"
ewarn "config protected service files."
fi
}

0 comments on commit ce5a697

Please sign in to comment.