From 73e7d972776cfc6f5e72575a3bbb34fa2e374fc2 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 24 Oct 2014 09:58:57 +0200 Subject: mkpkglists: Use the main configuration file Signed-off-by: Lukas Fleischer --- scripts/config.proto | 5 ----- scripts/mkpkglists.py | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 scripts/config.proto (limited to 'scripts') diff --git a/scripts/config.proto b/scripts/config.proto deleted file mode 100644 index 4cac94f..0000000 --- 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 c208fd1..173f5f7 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') -- cgit v1.2.3-54-g00ecf