Skip to content

Commit 9f65a41

Browse files
committed
remoteworker: sync .xz packages too
1 parent fefe382 commit 9f65a41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lilac2/workerman.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def sync_depended_packages(self, depends: list[str]) -> None:
195195
rsync_cmd = [
196196
'rsync', '-avi',
197197
'--include-from=-',
198-
'--exclude=/.*', '--exclude=*/', '--include=*.pkg.tar.zst', '--exclude=*/*',
198+
'--exclude=/.*', '--exclude=*/', '--include=*.pkg.tar.zst', '--include=*.pkg.tar.xz', '--exclude=*/*',
199199
'--delete',
200200
'./', f'{self.host}:{self.repodir.removesuffix('/')}',
201201
]
@@ -250,7 +250,7 @@ def fetch_files(self, pkgname: str) -> None:
250250
# run in remote.worker
251251
rsync_cmd = [
252252
'rsync', '-avi',
253-
'--include=*.pkg.tar.zst', '--exclude=*',
253+
'--include=*.pkg.tar.zst', '--include=*.pkg.tar.xz', '--exclude=*',
254254
f'{self.host}:{self.repodir.removesuffix('/')}/{pkgname}/',
255255
'.',
256256
]

0 commit comments

Comments
 (0)