Description: use /etc/dirsearch as the config file path install the config file in /etc/dirsearch, not in /usr/share/dirsearch/dirsearch Author: Clay Stan Author: Sophie Brun --- Forwarded: not-needed Last-Update: 2023-10-24 Index: dirsearch/lib/utils/common.py =================================================================== --- dirsearch.orig/lib/utils/common.py +++ dirsearch/lib/utils/common.py @@ -41 +41 @@ def get_config_file(): - return os.environ.get("DIRSEARCH_CONFIG") or FileUtils.build_path(SCRIPT_PATH, "config.ini") + return os.environ.get("DIRSEARCH_CONFIG") or "/etc/dirsearch/config.ini"