]> git.ipfire.org Git - pakfire.git/commitdiff
Remove reading configuration from examples directory.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 5 Apr 2011 17:10:29 +0000 (19:10 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 5 Apr 2011 17:10:29 +0000 (19:10 +0200)
pakfire/constants.py

index 83fd08d158ea0042eb1c208047dfcf1dc7b64d12..b0e36d551bced38af1e05f5fdde41949303abd3a 100644 (file)
@@ -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")