mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-18 13:29:14 +02:00
Correction
This commit is contained in:
@@ -47,12 +47,12 @@ for param in APP_NAME DOMAIN ROOT_URL; do
|
|||||||
|
|
||||||
# Define parameter
|
# Define parameter
|
||||||
if bashio::config.has_value "$param"; then
|
if bashio::config.has_value "$param"; then
|
||||||
echo "parameter set : $param=$(bashio::config '$param')"
|
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"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Allow at setup
|
# 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
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user