accept zstandard compressed packages

This commit is contained in:
InsanePrawn 2021-10-01 23:51:22 +02:00
parent d85c00fa12
commit c9572bed0f

View file

@ -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),