From: Michael Tremer Date: Tue, 5 Apr 2011 17:10:29 +0000 (+0200) Subject: Remove reading configuration from examples directory. X-Git-Tag: 0.9.3~52 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ad4542cf76bfb789616193239abea1bb4b6ea00c;p=pakfire.git Remove reading configuration from examples directory. --- 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")