mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update 99-run.sh
This commit is contained in:
@@ -48,10 +48,10 @@ for param in APP_NAME DOMAIN ROOT_URL; do
|
||||
# Define parameter
|
||||
if bashio::config.has_value "$param"; then
|
||||
echo "parameter set : $param=$(bashio::config "$param")"
|
||||
sed -i "/server/a $param=$(bashio::config "$param")" "$file"
|
||||
sed -i "/server/a $param = \"$(bashio::config "$param")\"" "$file"
|
||||
|
||||
# Allow at setup
|
||||
sed -i "1a $param=$(bashio::config "$param")" /etc/s6/gitea/setup
|
||||
sed -i "1a $param=\"$(bashio::config "$param")\"" /etc/s6/gitea/setup
|
||||
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user