add terminfo install in build.sh

This commit is contained in:
Luca Bilke 2024-04-25 14:25:01 +02:00
parent 9ba6b45a14
commit 3e198471d4
No known key found for this signature in database
GPG Key ID: B753481DA0B6FA47
1 changed files with 5 additions and 0 deletions

View File

@ -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