mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
This commit is contained in:
@@ -30,8 +30,9 @@ if bashio::config.has_value 'CONFIG_LOCATION'; then
|
||||
# Get config source
|
||||
CONFIGSOURCE=$(bashio::config "CONFIG_LOCATION")
|
||||
# Check CONFIGSOURCE ends with config.yaml
|
||||
if [ "$(basename "$CONFIGSOURCE")" != "config.yaml" ]; then
|
||||
bashio::log.red "Watch-out: your CONFIG_LOCATION should end by config.yaml, and instead it is $(basename "$CONFIGSOURCE")"
|
||||
if [ "$(basename "$CONFIGSOURCE")" != "*.yaml" ]; then
|
||||
# Remove trailing slash and add config.yaml
|
||||
CONFIGSOURCE="${CONFIGSOURCE%/}"/config.yaml
|
||||
fi
|
||||
# Check if config is located in an acceptable location
|
||||
LOCATIONOK=""
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
- Fix : restore normal working
|
||||
|
||||
### 0.3.10.2287-6 (21-11-2023)
|
||||
- Minor bugs fixed
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
],
|
||||
"name": "Readarr",
|
||||
"options": {
|
||||
"CONFIG_LOCATION": "/config/addons_config/readarr/config.yaml",
|
||||
"CONFIG_LOCATION": "/config/addons_config/readarr",
|
||||
"PGID": 0,
|
||||
"PUID": 0
|
||||
},
|
||||
@@ -102,5 +102,5 @@
|
||||
"slug": "readarr_nas",
|
||||
"udev": true,
|
||||
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/readarr",
|
||||
"version": "0.3.10.2287-7"
|
||||
"version": "0.3.10.2287-8"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user