mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
More robust copying of terminfo
Dont use symlinks in the tarball, instead create them in the bootstrap scripts, only if needed.
This commit is contained in:
parent
a9de91087a
commit
f774841ee0
5 changed files with 15 additions and 10 deletions
|
|
@ -201,6 +201,12 @@ compile_terminfo() {
|
|||
tic_out=$(command tic -x -o "$1/$tname" "$1/.terminfo/kitty.terminfo" 2>&1)
|
||||
[ $? = 0 ] || die "Failed to compile terminfo with err: $tic_out";
|
||||
fi
|
||||
|
||||
# Ensure the 78 dir is present
|
||||
if [ ! -f "$1/$tname/78/xterm-kitty" ]; then
|
||||
command mkdir -p "$1/$tname/78"
|
||||
command ln -sf "../x/xterm-kitty" "$1/$tname/78/xterm-kitty"
|
||||
fi
|
||||
}
|
||||
|
||||
untar_and_read_env() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue