st: Use update alternatives
PATCH 1/1 st: Use update alternatives
These files are also provided by ncurses so learn to co-habit
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-graphics/suckless/st_0.8.4.bb | 10 ++++++++++ 1 file changed, 10 insertions(+)
meta-oe/recipes-graphics/suckless/st_0.8.4.bb +10 -0
@@ -23,3 +23,13 @@ do_install() { FILES_${PN} += " \ ${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"
Signature · 1 line
2.28.0