From c9572bed0fa9fa6adb0b9defb798b87bd0097b1d Mon Sep 17 00:00:00 2001 From: InsanePrawn Date: Fri, 1 Oct 2021 23:51:22 +0200 Subject: [PATCH] accept zstandard compressed packages --- packages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages.py b/packages.py index 7ef7a12..df58fe9 100644 --- a/packages.py +++ b/packages.py @@ -413,7 +413,7 @@ def add_package_to_repo(package: Package, arch: str): for file in os.listdir(pkgbuild_dir): # Forced extension by makepkg.conf - if file.endswith('.pkg.tar.xz'): + if file.endswith('.pkg.tar.xz') or file.endswith('.pkg.tar.zst'): shutil.move( os.path.join(pkgbuild_dir, file), os.path.join(binary_dir, file),