镜像自地址
https://github.com/tuna/tunasync.git
已同步 2025-12-09 07:56:47 +00:00
update scripts
这个提交包含在:
13
scripts/gen_kali_exclude.py
普通文件
13
scripts/gen_kali_exclude.py
普通文件
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
ARCH_EXCLUDE = ['armel', 'armhf']
|
||||
|
||||
CONTENT_EXCLUDE = ['binary-{arch}', 'installer-{arch}', 'Contents-{arch}.gz', 'Contents-udeb-{arch}.gz', 'Contents-{arch}.diff', 'arch-{arch}.files', 'arch-{arch}.list.gz', '*_{arch}.deb', '*_{arch}.udeb', '*_{arch}.changes']
|
||||
|
||||
with open("kali-exclude.txt", 'wb') as f:
|
||||
f.write(".~tmp~/\n")
|
||||
f.write(".*\n")
|
||||
for arch in ARCH_EXCLUDE:
|
||||
for content in CONTENT_EXCLUDE:
|
||||
f.write(content.format(arch=arch))
|
||||
f.write('\n')
|
||||
在新工单中引用
屏蔽一个用户