Skip to contentSkip to conversation

ncurses: Create alternative symlinks for st and st-256color

PATCH New Khem Raj 1 participant 1 message Sep 17, 2020

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 ncurses: Create alternative symlinks for st and st-256color

Adjust for other st implementations

---
 meta/recipes-core/ncurses/ncurses.inc | 5 +++++
 1 file changed, 5 insertions(+)
meta/recipes-core/ncurses/ncurses.inc +5 -0
index 1627fb91d3..4b61889668 100644
@@ -273,6 +273,11 @@ inherit update-alternatives
 ALTERNATIVE_PRIORITY = "100"
 
 ALTERNATIVE_ncurses-tools_class-target = "clear reset"
+ALTERNATIVE_ncurses-terminfo_class-target = "st st-256color"
+
+ALTERNATIVE_LINK_NAME[st] = "${datadir}/terminfo/s/st"
+
+ALTERNATIVE_LINK_NAME[st-256color] = "${datadir}/terminfo/s/st-256color"
 
 BBCLASSEXTEND = "native nativesdk"
 
Signature · 1 line
2.28.0