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
|
|
@ -121,6 +121,10 @@ def compile_terminfo(base):
|
|||
if cp.returncode != 0:
|
||||
sys.stderr.buffer.write(cp.stdout)
|
||||
raise SystemExit('Failed to compile the terminfo database')
|
||||
q = os.path.join(base, tname, '78', 'xterm-kitty')
|
||||
if not os.path.exists(q):
|
||||
os.makedirs(os.path.dirname(q), exist_ok=True)
|
||||
os.symlink("../x/xterm-kitty", q)
|
||||
|
||||
|
||||
def get_data():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue