diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-10-24 09:58:57 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-10-24 10:03:54 +0200 |
commit | 73e7d972776cfc6f5e72575a3bbb34fa2e374fc2 (patch) | |
tree | b73153f674aefca9d75031facd6937dff2bdcad4 /scripts | |
parent | 76343fb91511b9f53e58b6c01b258bfe00ddb4c6 (diff) | |
download | aurweb-73e7d972776cfc6f5e72575a3bbb34fa2e374fc2.tar.xz |
mkpkglists: Use the main configuration file
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/config.proto | 5 | ||||
-rwxr-xr-x | scripts/mkpkglists.py | 2 |
2 files changed, 1 insertions, 6 deletions
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') |