This commit is contained in:
Alexandre
2023-02-26 14:19:06 +01:00
5 changed files with 9 additions and 5 deletions

View File

@@ -41,7 +41,11 @@ for KEYS in "${arr[@]}"; do
# Export the variable to run scripts #
######################################
export "${KEYS}='${VALUE}'"
# set .env
echo "$KEYS=$VALUE" >> /.env || true
# set /etc/environmemt
mkdir -p /etc
echo "$KEYS=$VALUE" >> /etc/environmemt
# For non s6
if cat /etc/services.d/*/*run* &>/dev/null; then sed -i "1a export $line" /etc/services.d/*/*run* 2>/dev/null; fi
if cat /etc/cont-init.d/*run* &>/dev/null; then sed -i "1a export $line" /etc/cont-init.d/*run* 2>/dev/null; fi

View File

@@ -122,7 +122,7 @@ while IFS= read -r line; do
python3 /env.py
fi
# set .env
echo "$line" >> /.env || true
echo "$KEYS=$VALUE" >> /.env || true
mkdir -p /etc
echo "$KEYS=$VALUE" >> /etc/environmemt
# Export to scripts

View File

@@ -1,4 +1,3 @@
## ⚠ Open Issue : [🐛 [Gazpar2mqtt] Error with GRDF password (opened 2023-02-24)](https://github.com/alexbelgium/hassio-addons/issues/729) by [@alexballow](https://github.com/alexballow)
# Home assistant add-on: gazpar2mqtt
[![Donate][donation-badge]](https://www.buymeacoffee.com/alexbelgium)

View File

@@ -1,3 +1,4 @@
- Enable external port by default (9999)
## 1.5.4 (07-01-2023)
- Update to latest version from spotweb/spotweb

View File

@@ -24,7 +24,7 @@
"panel_icon": "mdi:chart-timeline",
"panel_title": "Spotweb",
"ports": {
"80/tcp": null
"80/tcp": 9999
},
"ports_description": {
"80/tcp": "Not required for Ingress"
@@ -45,5 +45,5 @@
],
"slug": "spotweb",
"url": "https://github.com/alexbelgium/hassio-addons/spotweb",
"version": "1.5.4-7"
"version": "1.5.4-8"
}