matchbox-session: cleanup update-alternatives deprecated code

(From OE-Core rev: 46ce038d6c06eac7f34023b47bc80ef4ce61fb67)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Saul Wold
2012-07-26 16:51:18 -07:00
committed by Richard Purdie
parent 0409ee3c4e
commit 69e160949d

View File

@@ -11,13 +11,12 @@ RCONFLICTS_${PN} = "matchbox-common"
SRC_URI = "file://matchbox-session"
S = "${WORKDIR}"
PR = "r2"
PR = "r3"
inherit update-alternatives
ALTERNATIVE_NAME = "x-session-manager"
ALTERNATIVE_LINK = "${bindir}/x-session-manager"
ALTERNATIVE_PATH = "${bindir}/matchbox-session"
ALTERNATIVE_${PN} = "x-session-manager"
ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/matchbox-session"
ALTERNATIVE_PRIORITY = "10"
do_install() {