Fix breaking characters

This commit is contained in:
alexbelgium
2025-05-27 10:11:59 +02:00
parent aa6bdca186
commit 57aa782fd1
2 changed files with 5 additions and 5 deletions

View File

@@ -82,7 +82,7 @@
"ingress": true, "ingress": true,
"init": false, "init": false,
"map": [ "map": [
"addon_config:rw", "addon_config:rw",
"all_addon_configs:rw", "all_addon_configs:rw",
"homeassistant_config:rw", "homeassistant_config:rw",
"media:rw", "media:rw",
@@ -123,6 +123,6 @@
"slug": "calibre-web", "slug": "calibre-web",
"udev": true, "udev": true,
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/calibre_web", "url": "https://github.com/alexbelgium/hassio-addons/tree/master/calibre_web",
"version": "0.6.24-8", "version": "0.6.24-9",
"video": true "video": true
} }

View File

@@ -58,8 +58,8 @@ chown "$PUID":"$PGID" "$LOCATION"
if [ -d /homeassistant/addons_config/calibre-web ]; then if [ -d /homeassistant/addons_config/calibre-web ]; then
if [ "$(ls -A /homeassistant/addons_config/calibre-web)" ]; then if [ "$(ls -A /homeassistant/addons_config/calibre-web)" ]; then
    echo "Moving database to new location /config" echo "Moving database to new location /config"
    cp -rf /homeassistant/addons_config/calibre-web/* "$LOCATION"/ cp -rf /homeassistant/addons_config/calibre-web/* "$LOCATION"/
fi fi
    rm -r /homeassistant/addons_config/calibre-web rm -r /homeassistant/addons_config/calibre-web
fi fi