Debian Codegraph @

debian/patches/change_config_file_path.patch

raw
1 Description: use /etc/dirsearch as the config file path
2
3 install the config file in /etc/dirsearch, not in
4 /usr/share/dirsearch/dirsearch
5
6 Author: Clay Stan <[email protected]>
7 Author: Sophie Brun <[email protected]>
8
9 ---
10 Forwarded: not-needed
11 Last-Update: 2023-10-24
12
13 Index: dirsearch/lib/utils/common.py
14 ===================================================================
15 --- dirsearch.orig/lib/utils/common.py
16 +++ dirsearch/lib/utils/common.py
17 @@ -41 +41 @@ def get_config_file():
18 - return os.environ.get("DIRSEARCH_CONFIG") or FileUtils.build_path(SCRIPT_PATH, "config.ini")
19 + return os.environ.get("DIRSEARCH_CONFIG") or "/etc/dirsearch/config.ini"