blob: 005a002ec065dcef91af7fe9922d6056a3dd7614 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- barman/config.py.orig 2024-11-23 11:42:48 UTC
+++ barman/config.py
@@ -1194,15 +1194,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$""")
|