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

View File

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