mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
feat(docker): host gzip archive downloads
- added config option [mkpkglists] archivedir - created by mkpkglists Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
abbecf5194
commit
4f7aeafa8d
6 changed files with 38 additions and 6 deletions
|
@ -1,6 +1,10 @@
|
|||
#!/bin/bash
|
||||
set -eou pipefail
|
||||
|
||||
for archive in packages pkgbase users packages-meta-v1.json packages-meta-ext-v1.json; do
|
||||
ln -vsf /var/lib/aurweb/archives/${archive}.gz /aurweb/web/html/${archive}.gz
|
||||
done
|
||||
|
||||
# Setup a config for our mysql db.
|
||||
cp -vf conf/config.dev conf/config
|
||||
sed -i "s;YOUR_AUR_ROOT;$(pwd);g" conf/config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue