mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(docker): fix database user/password for git-entrypoint
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
a5c0c47e5b
commit
912b7e0c11
1 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,9 @@ EOF
|
||||||
cp -vf conf/config.dev $AUR_CONFIG
|
cp -vf conf/config.dev $AUR_CONFIG
|
||||||
sed -i "s;YOUR_AUR_ROOT;$(pwd);g" $AUR_CONFIG
|
sed -i "s;YOUR_AUR_ROOT;$(pwd);g" $AUR_CONFIG
|
||||||
|
|
||||||
|
sed -ri "s/^;?(user) = .*$/\1 = aur/" $AUR_CONFIG
|
||||||
|
sed -ri "s/^;?(password) = .*$/\1 = aur/" $AUR_CONFIG
|
||||||
|
|
||||||
AUR_CONFIG_DEFAULTS="${AUR_CONFIG}.defaults"
|
AUR_CONFIG_DEFAULTS="${AUR_CONFIG}.defaults"
|
||||||
|
|
||||||
if [[ "$AUR_CONFIG_DEFAULTS" != "/aurweb/conf/config.defaults" ]]; then
|
if [[ "$AUR_CONFIG_DEFAULTS" != "/aurweb/conf/config.defaults" ]]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue