summaryrefslogtreecommitdiff
path: root/aurweb/scripts/mkpkglists.py
diff options
context:
space:
mode:
Diffstat (limited to 'aurweb/scripts/mkpkglists.py')
-rwxr-xr-xaurweb/scripts/mkpkglists.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/aurweb/scripts/mkpkglists.py b/aurweb/scripts/mkpkglists.py
index 8a0f2e9..7d0b5c5 100755
--- a/aurweb/scripts/mkpkglists.py
+++ b/aurweb/scripts/mkpkglists.py
@@ -8,14 +8,14 @@ import aurweb.db
packagesfile = aurweb.config.get('mkpkglists', 'packagesfile')
pkgbasefile = aurweb.config.get('mkpkglists', 'pkgbasefile')
-
+aur_shortname = aurweb.config.get('options', 'aur_shortname');
def main():
conn = aurweb.db.Connection()
datestr = datetime.datetime.utcnow().strftime("%a, %d %b %Y %H:%M:%S GMT")
- pkglist_header = "# AUR package list, generated on " + datestr
- pkgbaselist_header = "# AUR package base list, generated on " + datestr
+ pkglist_header = "# " + aur_shortname + " package list, generated on " + datestr
+ pkgbaselist_header = "# " + aur_shortname + " package base list, generated on " + datestr
with gzip.open(packagesfile, "w") as f:
f.write(bytes(pkglist_header + "\n", "UTF-8"))