mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Merge branch 'fix-commit-hash-check' into pu
This commit is contained in:
commit
a38e126f49
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ sed -ri "s;^(aur_location) = .+;\1 = ${AURWEB_FASTAPI_PREFIX};" conf/config
|
|||
sed -ri 's/^(cache) = .+/\1 = redis/' conf/config
|
||||
sed -ri 's|^(redis_address) = .+|\1 = redis://redis|' conf/config
|
||||
|
||||
if [ "$COMMIT_HASH" ]; then
|
||||
if [ ! -z ${COMMIT_HASH+x} ]; then
|
||||
sed -ri "s/^;?(commit_hash) =.*$/\1 = $COMMIT_HASH/" conf/config
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue