mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-11 16:59:59 +00:00
st: Use update alternatives
These files are also provided by ncurses so learn to co-habit Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -23,3 +23,13 @@ do_install() {
|
|||||||
FILES_${PN} += " \
|
FILES_${PN} += " \
|
||||||
${datadir}/terminfo \
|
${datadir}/terminfo \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
inherit update-alternatives
|
||||||
|
|
||||||
|
ALTERNATIVE_PRIORITY = "50"
|
||||||
|
|
||||||
|
ALTERNATIVE_${PN} = "st st-256color"
|
||||||
|
|
||||||
|
ALTERNATIVE_LINK_NAME[st] = "${datadir}/terminfo/s/st"
|
||||||
|
|
||||||
|
ALTERNATIVE_LINK_NAME[st-256color] = "${datadir}/terminfo/s/st-256color"
|
||||||
|
|||||||
Reference in New Issue
Block a user