summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ncurses/ncurses_5.4.oe5
1 files changed, 4 insertions, 1 deletions
diff --git a/ncurses/ncurses_5.4.oe b/ncurses/ncurses_5.4.oe
index 889be1f423..03a384eae3 100644
--- a/ncurses/ncurses_5.4.oe
+++ b/ncurses/ncurses_5.4.oe
@@ -68,5 +68,8 @@ do_install_append() {
fi
done
# i think we can use xterm-color as default xterm
- ln -sf xterm-color ${D}/etc/terminfo/x/xterm
+ if [ -e ${D}/etc/terminfo/x/xterm ]
+ then
+ ln -sf xterm-color ${D}/etc/terminfo/x/xterm
+ fi
}