1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

less: cleanup update-alternatives deprecated code

(From OE-Core rev: a8ad6529b214c1c7b12dffb557d9f7afa3ee1f04)

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 17:11:33 -07:00
committed by Richard Purdie
parent 1d1205698f
commit a260a6ed1b
+2 -4
View File
@@ -23,7 +23,7 @@ LICENSE = "GPLv3+ | BSD-2-Clause"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSE;md5=1237c0f825bb36122b0b2b486ffbe6be" file://LICENSE;md5=1237c0f825bb36122b0b2b486ffbe6be"
DEPENDS = "ncurses" DEPENDS = "ncurses"
PR = "r2" PR = "r3"
SRC_URI = "http://www.greenwoodsoftware.com/${BPN}/${BPN}-${PV}.tar.gz" SRC_URI = "http://www.greenwoodsoftware.com/${BPN}/${BPN}-${PV}.tar.gz"
@@ -34,9 +34,7 @@ inherit autotools update-alternatives
do_install () { do_install () {
oe_runmake 'bindir=${D}${bindir}' 'mandir=${D}${mandir}' install oe_runmake 'bindir=${D}${bindir}' 'mandir=${D}${mandir}' install
mv ${D}${bindir}/less ${D}${bindir}/less.${BPN}
} }
ALTERNATIVE_NAME = "less" ALTERNATIVE_${PN} = "less"
ALTERNATIVE_PATH = "less.${BPN}"
ALTERNATIVE_PRIORITY = "100" ALTERNATIVE_PRIORITY = "100"