diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-07-26 17:11:33 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-15 14:18:41 +0100 |
commit | a8ad6529b214c1c7b12dffb557d9f7afa3ee1f04 (patch) | |
tree | 93d7e112929d4d9b79d97d88c5a1d9d4d0e88077 /meta/recipes-extended | |
parent | 929d7ec6ad5a27b6fcc6ac8c0af1a9f25a7ff6df (diff) | |
download | openembedded-core-a8ad6529b214c1c7b12dffb557d9f7afa3ee1f04.tar.gz openembedded-core-a8ad6529b214c1c7b12dffb557d9f7afa3ee1f04.tar.bz2 openembedded-core-a8ad6529b214c1c7b12dffb557d9f7afa3ee1f04.zip |
less: cleanup update-alternatives deprecated code
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/less/less_444.bb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-extended/less/less_444.bb b/meta/recipes-extended/less/less_444.bb index 146b4fdeed..1ce9d926d2 100644 --- a/meta/recipes-extended/less/less_444.bb +++ b/meta/recipes-extended/less/less_444.bb @@ -23,7 +23,7 @@ LICENSE = "GPLv3+ | BSD-2-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ file://LICENSE;md5=1237c0f825bb36122b0b2b486ffbe6be" DEPENDS = "ncurses" -PR = "r2" +PR = "r3" SRC_URI = "http://www.greenwoodsoftware.com/${BPN}/${BPN}-${PV}.tar.gz" @@ -34,9 +34,7 @@ inherit autotools update-alternatives do_install () { oe_runmake 'bindir=${D}${bindir}' 'mandir=${D}${mandir}' install - mv ${D}${bindir}/less ${D}${bindir}/less.${BPN} } -ALTERNATIVE_NAME = "less" -ALTERNATIVE_PATH = "less.${BPN}" +ALTERNATIVE_${PN} = "less" ALTERNATIVE_PRIORITY = "100" |