mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-09 09:21:03 +01:00
Add joal 2.1.38 changelog
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
|
||||
## 2.1.38 (05-01-2026)
|
||||
- Align configuration mapping with addon_config and homeassistant_config
|
||||
- Migrate legacy /homeassistant/addons_config/joal data to the addon config folder
|
||||
|
||||
## 2.1.37 (23-12-2025)
|
||||
- Update to latest version from anthonyraymond/joal (changelog : https://github.com/anthonyraymond/joal/releases)
|
||||
- The Home Assistant project has deprecated support for the armv7, armhf and i386 architectures. Support wil be fully dropped in the upcoming Home Assistant 2025.12 release
|
||||
|
||||
@@ -6,7 +6,8 @@ hassio_api: true
|
||||
image: ghcr.io/alexbelgium/joal-{arch}
|
||||
ingress: true
|
||||
map:
|
||||
- config:rw
|
||||
- addon_config:rw
|
||||
- homeassistant_config:rw
|
||||
name: Joal
|
||||
options:
|
||||
env_vars: []
|
||||
@@ -32,4 +33,4 @@ schema:
|
||||
slug: joal
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons
|
||||
version: "2.1.37"
|
||||
version: "2.1.38"
|
||||
|
||||
@@ -33,15 +33,25 @@ bashio::log.info "Joal updated"
|
||||
# SYMLINK CONFIG #
|
||||
##################
|
||||
|
||||
slug=joal
|
||||
|
||||
# Migrate legacy config location
|
||||
if [ -d "/homeassistant/addons_config/$slug" ] \
|
||||
&& [ ! -f "/homeassistant/addons_config/$slug/migrated" ] \
|
||||
&& [ -n "$(find "/homeassistant/addons_config/$slug" -mindepth 1 -maxdepth 1 -print -quit)" ]; then
|
||||
bashio::log.info "Migrating /homeassistant/addons_config/$slug to /addon_configs/xxx-$slug"
|
||||
cp -rnf /homeassistant/addons_config/"$slug"/* /config/ || true
|
||||
mv /homeassistant/addons_config/"$slug" /homeassistant/addons_config/"$slug"_migrated
|
||||
fi
|
||||
|
||||
# If config doesn't exist, create it
|
||||
if [ ! -f /config/addons_config/joal/config.json ]; then
|
||||
if [ ! -f /config/config.json ]; then
|
||||
bashio::log.info "Symlinking config files"
|
||||
mkdir -p /config/addons_config/joal
|
||||
cp /data/joal/config.json /config/addons_config/joal/config.json
|
||||
cp /data/joal/config.json /config/config.json
|
||||
fi
|
||||
|
||||
# Refresh symlink
|
||||
ln -sf /config/addons_config/joal/config.json /data/joal/config.json
|
||||
ln -sf /config/config.json /data/joal/config.json
|
||||
|
||||
###############
|
||||
# SET VARIABLES #
|
||||
|
||||
Reference in New Issue
Block a user