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:
Kovid Goyal
2022-03-10 21:08:20 +05:30
parent a9de91087a
commit f774841ee0
5 changed files with 15 additions and 10 deletions

View File

@@ -1258,7 +1258,7 @@ def package(args: Options, bundle_type: str) -> None:
for x in (libdir, os.path.join(ddir, 'share')):
odir = os.path.join(x, 'terminfo')
safe_makedirs(odir)
build_terminfo['compile_terminfo'](odir, add_other_versions=True)
build_terminfo['compile_terminfo'](odir)
shutil.copy2('__main__.py', libdir)
shutil.copy2('logo/kitty-128.png', os.path.join(libdir, 'logo'))
shutil.copy2('logo/kitty.png', os.path.join(libdir, 'logo'))