mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
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:
2
.github/scripts/common.py
vendored
2
.github/scripts/common.py
vendored
@ -408,7 +408,7 @@ def update_flathub_git():
|
||||
call(command, cwd=TMP_DIR)
|
||||
shutil.copy(str(BASE_DIR / "org.kiwix.desktop.json"), str(git_repo_dir))
|
||||
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)):
|
||||
shutil.copy(str(f), str(git_repo_dir / "patches"))
|
||||
command = ["git", "add", "-A", "."]
|
||||
|
Reference in New Issue
Block a user