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:
Clayton Craft 2021-06-06 23:35:24 -07:00
parent 1704851468
commit aa2c740810
No known key found for this signature in database
GPG Key ID: 7A3461CA187CEA54
1 changed files with 2 additions and 2 deletions

View File

@ -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,