From 3e198471d41d62cc6fecae4f9ae7a2d69a25a7fb Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Thu, 25 Apr 2024 14:25:01 +0200 Subject: [PATCH] add terminfo install in build.sh --- build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.sh b/build.sh index 79fedd3..4052d2b 100755 --- a/build.sh +++ b/build.sh @@ -8,8 +8,13 @@ for patch in patches/*.diff; do done cp -f config.h st-final/ cd st-final || exit 1 + if [ "$1" = "-i" ]; then sudo make install +elif [ "$1" = "-ti" ]; then + mkdir -p /usr/local/share/terminfo/s/ + make terminfo + cp -a terminfo/s/* /usr/local/share/terminfo/s/ else make fi