config: fix config file path when XDG_CONFIG_HOME is set (MR 2065)
fixes a regression from f3b3fe906
where the file name was not being
appended to the path in the case where `XDG_CONFIG_HOME` was set.
This commit is contained in:
parent
1704851468
commit
aa2c740810
|
@ -79,8 +79,8 @@ defaults = {
|
|||
"ccache_size": "5G",
|
||||
"is_default_channel": True,
|
||||
"cipher": "aes-xts-plain64",
|
||||
"config": os.environ.get('XDG_CONFIG_HOME') or
|
||||
((os.path.expanduser("~/.config")) + "/pmbootstrap.cfg"),
|
||||
"config": (os.environ.get('XDG_CONFIG_HOME') or
|
||||
os.path.expanduser("~/.config")) + "/pmbootstrap.cfg",
|
||||
"device": "qemu-amd64",
|
||||
"extra_packages": "none",
|
||||
"fork_alpine": False,
|
||||
|
|
Loading…
Reference in New Issue