mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
change(docker): use aurweb-config to update AUR_CONFIG
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
0726a08677
commit
5b350bc361
4 changed files with 37 additions and 37 deletions
|
@ -4,8 +4,9 @@ set -eou pipefail
|
|||
# Setup a config for our mysql db.
|
||||
cp -vf conf/config.dev conf/config
|
||||
sed -i "s;YOUR_AUR_ROOT;$(pwd);g" conf/config
|
||||
sed -ri "s/^;?(user) = .*$/\1 = aur/g" conf/config
|
||||
sed -ri "s/^;?(password) = .*$/\1 = aur/g" conf/config
|
||||
|
||||
aurweb-config set database user 'aur'
|
||||
aurweb-config set database password 'aur'
|
||||
|
||||
python -m aurweb.initdb 2>/dev/null || /bin/true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue