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