bundles/arch-with-gui: add workaround for broken bw test
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2022-03-12 09:01:41 +01:00
parent 72cf616114
commit 6a9da7efa5
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -66,6 +66,12 @@ for filename in listdir(join(repo.path, 'data', 'arch-with-gui', 'files', 'fonts
continue
if filename.endswith('.vault'):
# XXX remove this once we have a new bundlewrap release
# https://github.com/bundlewrap/bundlewrap/commit/2429b153dd1ca6781cf3812e2dec9c2b646a546b
from os import environ
if environ.get('BW_VAULT_DUMMY_MODE', '0') == '1':
continue
font_name = filename[:-6]
attrs = {
'content': repo.vault.decrypt_file_as_base64(join('arch-with-gui', 'files', 'fonts', filename)),