mirror of
https://github.com/truenas/scale-build.git
synced 2025-12-20 02:49:28 +00:00
8 lines
213 B
Python
8 lines
213 B
Python
from scale_build.utils.manifest import get_manifest
|
|
|
|
|
|
def get_apt_preferences():
|
|
return '\n\n'.join(
|
|
'\n'.join(f'{k}: {v}' for k, v in pref.items()) for pref in get_manifest()['apt_preferences']
|
|
)
|