fix
This commit is contained in:
parent
27c4191be8
commit
69501a7a63
1 changed files with 5 additions and 1 deletions
|
|
@ -77,7 +77,11 @@ printenv | while IFS='=' read -r name value; do
|
|||
rest="${name#GITEA__}"
|
||||
section="${rest%%__*}"
|
||||
key="${rest#*__}"
|
||||
crudini --set "$GITEA_APP_INI" "$section" "$key" "$value"
|
||||
if [ "$section" = default ]; then
|
||||
set_top_level_key "$key" "$value"
|
||||
else
|
||||
crudini --set "$GITEA_APP_INI" "$section" "$key" "$value"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue