summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-10-24 09:58:57 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-10-24 10:03:54 +0200
commit73e7d972776cfc6f5e72575a3bbb34fa2e374fc2 (patch)
treeb73153f674aefca9d75031facd6937dff2bdcad4
parent76343fb91511b9f53e58b6c01b258bfe00ddb4c6 (diff)
downloadaur-73e7d972776cfc6f5e72575a3bbb34fa2e374fc2.tar.gz
aur-73e7d972776cfc6f5e72575a3bbb34fa2e374fc2.tar.xz
mkpkglists: Use the main configuration file
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-rw-r--r--scripts/config.proto5
-rwxr-xr-xscripts/mkpkglists.py2
2 files changed, 1 insertions, 6 deletions
diff --git a/scripts/config.proto b/scripts/config.proto
deleted file mode 100644
index 4cac94fa..00000000
--- a/scripts/config.proto
+++ /dev/null
@@ -1,5 +0,0 @@
-[database]
-host = localhost
-name = AUR
-user = aur
-password = aur
diff --git a/scripts/mkpkglists.py b/scripts/mkpkglists.py
index c208fd12..173f5f74 100755
--- a/scripts/mkpkglists.py
+++ b/scripts/mkpkglists.py
@@ -9,7 +9,7 @@ import os
docroot = os.path.dirname(os.path.realpath(__file__)) + "/../web/html/"
config = configparser.RawConfigParser()
-config.read(os.path.dirname(os.path.realpath(__file__)) + "/config")
+config.read(os.path.dirname(os.path.realpath(__file__)) + "/../conf/config")
aur_db_host = config.get('database', 'host')
aur_db_name = config.get('database', 'name')