Remove uneeded patches for flatpak
Patches are uneeded for all arch. But we were trying to copy them on flatpak.
This commit is contained in:
parent
04db1bafe8
commit
536748500b
|
@ -408,7 +408,7 @@ def update_flathub_git():
|
||||||
call(command, cwd=TMP_DIR)
|
call(command, cwd=TMP_DIR)
|
||||||
shutil.copy(str(BASE_DIR / "org.kiwix.desktop.json"), str(git_repo_dir))
|
shutil.copy(str(BASE_DIR / "org.kiwix.desktop.json"), str(git_repo_dir))
|
||||||
patch_dir = KBUILD_SOURCE_DIR / "kiwixbuild" / "patches"
|
patch_dir = KBUILD_SOURCE_DIR / "kiwixbuild" / "patches"
|
||||||
for dep in ("libaria2", "mustache", "pugixml", "xapian", "zstd"):
|
for dep in ["pugixml"]:
|
||||||
for f in patch_dir.glob("{}_*.patch".format(dep)):
|
for f in patch_dir.glob("{}_*.patch".format(dep)):
|
||||||
shutil.copy(str(f), str(git_repo_dir / "patches"))
|
shutil.copy(str(f), str(git_repo_dir / "patches"))
|
||||||
command = ["git", "add", "-A", "."]
|
command = ["git", "add", "-A", "."]
|
||||||
|
|
Loading…
Reference in New Issue