23 lines
717 B
Python
23 lines
717 B
Python
--- src/barman/config.py.orig 2026-08-29 10:00:11 UTC
|
|
+++ src/barman/config.py
|
|
@@ -1464,15 +1464,15 @@ class Config(object):
|
|
class Config(object):
|
|
"""This class represents the barman configuration.
|
|
|
|
- Default configuration files are /etc/barman.conf,
|
|
- /etc/barman/barman.conf
|
|
+ Default configuration files are %%PREFIX%%/etc/barman.conf,
|
|
+ %%PREFIX%%/etc/barman/barman.conf
|
|
and ~/.barman.conf for a per-user configuration
|
|
"""
|
|
|
|
CONFIG_FILES = [
|
|
"~/.barman.conf",
|
|
- "/etc/barman.conf",
|
|
- "/etc/barman/barman.conf",
|
|
+ "%%PREFIX%%/etc/barman.conf",
|
|
+ "%%PREFIX%%/etc/barman/barman.conf",
|
|
]
|
|
|
|
_QUOTE_RE = re.compile(r"""^(["'])(.*)\1$""")
|