From ad4542cf76bfb789616193239abea1bb4b6ea00c Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 5 Apr 2011 19:10:29 +0200 Subject: [PATCH] Remove reading configuration from examples directory. --- pakfire/constants.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pakfire/constants.py b/pakfire/constants.py index 83fd08d15..b0e36d551 100644 --- a/pakfire/constants.py +++ b/pakfire/constants.py @@ -4,9 +4,7 @@ import os.path PAKFIRE_VERSION = "0.9.2" -SYSCONFDIR = os.path.join(os.path.dirname(__file__), "..", "examples") -if not os.path.exists(SYSCONFDIR): - SYSCONFDIR = "/etc" +SYSCONFDIR = "/etc" CONFIG_DIR = os.path.join(SYSCONFDIR, "pakfire.repos.d") CONFIG_FILE = os.path.join(SYSCONFDIR, "pakfire.conf") -- 2.39.5