diff options
-rw-r--r-- | meta-oe/recipes-graphics/suckless/st_0.8.4.bb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/suckless/st_0.8.4.bb b/meta-oe/recipes-graphics/suckless/st_0.8.4.bb index 906179501b..1f0f2f7f2c 100644 --- a/meta-oe/recipes-graphics/suckless/st_0.8.4.bb +++ b/meta-oe/recipes-graphics/suckless/st_0.8.4.bb | |||
@@ -23,3 +23,13 @@ do_install() { | |||
23 | FILES_${PN} += " \ | 23 | FILES_${PN} += " \ |
24 | ${datadir}/terminfo \ | 24 | ${datadir}/terminfo \ |
25 | " | 25 | " |
26 | |||
27 | inherit update-alternatives | ||
28 | |||
29 | ALTERNATIVE_PRIORITY = "50" | ||
30 | |||
31 | ALTERNATIVE_${PN} = "st st-256color" | ||
32 | |||
33 | ALTERNATIVE_LINK_NAME[st] = "${datadir}/terminfo/s/st" | ||
34 | |||
35 | ALTERNATIVE_LINK_NAME[st-256color] = "${datadir}/terminfo/s/st-256color" | ||