bundlewrap/bundles/basic/metadata.py
Franziska Kunsmann 51ca74549e
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/basic: add htoprc
2021-02-24 19:24:56 +01:00

25 lines
554 B
Python

defaults = {
'bash_functions': {
'h': 'cp /etc/htoprc.global ~/.htoprc; mkdir -p ~/.config/htop; cp /etc/htoprc.global ~/.config/htop/htoprc; htop',
},
'locale': {
'default': 'en_US.UTF-8',
'installed': {
'de_DE.UTF-8',
'en_US.UTF-8',
},
},
}
@metadata_reactor.provides(
'locale/installed',
)
def ensure_default_is_installed(metadata):
return {
'locale': {
'installed': {
metadata.get('locale/default'),
},
},
}